npm.io
1.13.0 • Published 8 years agoCLI

bablyfill

Licence
MIT
Version
1.13.0
Deps
29
Size
16 kB
Vulns
0
Weekly
0
Stars
2

Build Status

bablyfill

run your es6+ node code without any installs but bablyfill

Install

local

npm install [--save[-dev]] bablyfill
yarn add bablyfill
global
npm i -g bablyfill
yarn global add bablyfill

Usage

CLI

bablyfill installs 4 binaries that are only aliases for each other. you can use each following shell command to start the magic:

bablyfill
devnode
es6ify
es6
run es6 code

to run es6+ code you can simply call:

es6 path/to/es6-app.js
transpile to stdout
es6 path/to/es6-app.js -t
transpile and save es6 file
es6 path/to/es6-app.js path/lib/dest.js
transpile / transform multiple es6 sources using glob or path
es6 'path/to/es6/**/*.js' path/to/lib/
es6 path/to/es6 path/to/lib/

Keywords