0.2.3 • Published 8 years ago

babel-esnext v0.2.3

Weekly downloads
62
License
MIT
Repository
github
Last release
8 years ago

babel-esnext Build status

A babel-node wrapper with ES2015+ features

Similar to babel-node --stage 0 in Babel 5 and downwards.

Installation

$ npm install --global babel-esnext

Usage

Babel 6 requires presets to be installed locally, which means something like babel-node --presets es2015,stage-0 won't work wherever you want.

This does however, and works as a wrapper around babel-node:

# Empty shell:
$ babel-esnext

# Passing arguments to babel-node:
$ babel-esnext --eval "console.log(5)"

# Running a file:
$ babel-esnext filename.js

Uses the following Babel presets:

License

MIT @ Martin Ek