We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The Loader standard came and went. Our implementation remains:
var System = require('./src/node/System.js'); System.import('./test_module.js', {}).then(function(mod) { assert.equal('test', mod.name); assert.equal('A', mod.a); assert.equal('B', mod.b); assert.equal('C', mod.c); done(); }).catch(done);
The NodeJS API for compiling is the following:
var api = require('traceur/src/node/api.js'); var result = api.compile('let a = 1;', {blockBinding: true});