babel-esnext

0.2.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-esnext

Weekly Downloads

26

Version

0.2.3

License

MIT

Last publish

Collaborators

  • ekmartin