tanyanfei 2ddc045fd3 update 5 år sedan
..
bin 2ddc045fd3 update 5 år sedan
lib 2ddc045fd3 update 5 år sedan
node_modules 2ddc045fd3 update 5 år sedan
scripts 2ddc045fd3 update 5 år sedan
.npmignore 2ddc045fd3 update 5 år sedan
README.md 2ddc045fd3 update 5 år sedan
index.js 2ddc045fd3 update 5 år sedan
package-lock.json 2ddc045fd3 update 5 år sedan
package.json 2ddc045fd3 update 5 år sedan

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/