Skip to content

instantly run or transpile your es6+ code without needing to install anything else but bablyfill

Notifications You must be signed in to change notification settings

soenkekluth/bablyfill

Repository files navigation

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/

About

instantly run or transpile your es6+ code without needing to install anything else but bablyfill

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published