Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lemmon/babel-env-cli
Babel command line interface for global use, including preset-env as default.
https://github.com/lemmon/babel-env-cli
babel cli compiler ecmascript javascript
Last synced: 17 days ago
JSON representation
Babel command line interface for global use, including preset-env as default.
- Host: GitHub
- URL: https://github.com/lemmon/babel-env-cli
- Owner: lemmon
- License: mit
- Created: 2018-09-08T18:12:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T09:27:10.000Z (2 months ago)
- Last Synced: 2024-10-29T11:41:44.919Z (2 months ago)
- Topics: babel, cli, compiler, ecmascript, javascript
- Language: JavaScript
- Homepage:
- Size: 195 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babel-env
CLI interface for Babel + @babel/preset-env.
## Install
This package is meant to be installed globally.
```sh
npm install babel-env-cli --global
```## Usage
```
Usage
$ babel-envOptions
-h, --help Show this help
-o, --output Output file
-w, --watch Watch JS source directory for changesExample
$ babel-env src/input.js -o dist/output.js
$ babel-env src/input.js -o dist/output.js --watch
```## Related
- [`Babel`](https://babeljs.io/)
- [`@babel/core`](https://babeljs.io/docs/en/babel-core)
- [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env)
- [`@babel/cli`](https://babeljs.io/docs/en/babel-cli)## License
MIT