1.13.0 • Published 6 years ago

bablyfill v1.13.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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/