Nihilism Philisophy Major

    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

    Keywords

    none

    Install

    npm i babel-esnext

    DownloadsWeekly Downloads

    21

    Version

    0.2.3

    License

    MIT

    Last publish

    Collaborators

    • ekmartin