CLI interface for Babel + @babel/preset-env.
This package is meant to be installed globally.
npm install babel-env-cli --global
Usage
$ babel-env <input.js>
Options
-h, --help Show this help
-o, --output Output file
-w, --watch Watch JS source directory for changes
Example
$ babel-env src/input.js -o dist/output.js
$ babel-env src/input.js -o dist/output.js --watch
MIT