Bradley Farias 7ca81700f7 add .mjs to list of well known extensions
this is to conform to the plan of the Node.js EP
2017-05-01 09:43:49 -07:00
..
2017-03-27 14:46:39 -07:00
2017-03-25 21:46:16 -04:00
2017-04-18 10:41:30 -04:00
2016-11-29 08:40:27 -05:00

babel-cli

Babel command line.

In addition, various entry point scripts live in the top-level package at babel-cli/bin.

There are some shell-executable utility scripts, babel-external-helpers.js and babel-node.js, and the main Babel cli script, babel.js.

Install

npm install --save-dev babel-cli

Usage

babel script.js

For more in depth documentation see: http://babeljs.io/docs/usage/cli/