zhaojinyu 73e6d881c9 first commit 10 months ago
..
bin 73e6d881c9 first commit 10 months ago
lib 73e6d881c9 first commit 10 months ago
node_modules 73e6d881c9 first commit 10 months ago
scripts 73e6d881c9 first commit 10 months ago
.npmignore 73e6d881c9 first commit 10 months ago
README.md 73e6d881c9 first commit 10 months ago
index.js 73e6d881c9 first commit 10 months ago
package-lock.json 73e6d881c9 first commit 10 months ago
package.json 73e6d881c9 first commit 10 months ago

README.md

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/