slue-babel
slue babel
Last updated 8 months ago by songgenlei .
ISC · Original npm · Tarball · package.json
$ cnpm install slue-babel 
SYNC missed versions from official npm registry.

slue-babel

Transform es6 to es5.

useage

const slueFs = require('slue-fs');
const slueFs = require('slue-stream');
const slueBabel = require('slue-babel');

slueFs.read('./test/main.js').pipe(slueBabel());

slueFs.read('./test/main.js').pipe(slueBabel({
    sourceMaps: true  // default false
})).pipe(slueStream.transformObj(function(file, env, cb) {
    console.log(file.sourceMap);
    cb(null, file);
}));

Current Tags

  • 1.0.7                                ...           latest (8 months ago)

8 Versions

  • 1.0.7                                ...           8 months ago
  • 1.0.6                                ...           8 months ago
  • 1.0.5                                ...           8 months ago
  • 1.0.4                                ...           9 months ago
  • 1.0.3                                ...           9 months ago
  • 1.0.2                                ...           9 months ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 10
Dependencies (5)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |