https://github.com/cjpatoilo/jscompile
Compile, optimize and compress anything to JS.
https://github.com/cjpatoilo/jscompile
compile compress js optimize
Last synced: 4 months ago
JSON representation
Compile, optimize and compress anything to JS.
- Host: GitHub
- URL: https://github.com/cjpatoilo/jscompile
- Owner: cjpatoilo
- License: mit
- Created: 2017-01-12T21:49:09.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T01:19:48.000Z (over 3 years ago)
- Last Synced: 2025-02-10T20:59:22.116Z (over 1 year ago)
- Topics: compile, compress, js, optimize
- Language: JavaScript
- Homepage: https://npmjs.com/jscompile
- Size: 119 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/contributing.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
# JSCompile
> Compile, optimize and compress anything to JS.
[](https://travis-ci.org/cjpatoilo/jscompile?branch=master)
[](https://ci.appveyor.com/project/cjpatoilo/jscompile)
[](https://www.codacy.com/app/cjpatoilo/jscompile/dashboard)
[](https://david-dm.org/cjpatoilo/jscompile)
[](https://www.npmjs.com/package/jscompile)
[](https://www.npmjs.com/package/jscompile)
[](https://gitter.im/cjpatoilo/jscompile)
## Why it's awesome
No spend several hours setting configuration files. **JSCompile** will compile, optimize and compress anything to JS. Set folder name where the source code is located and we'll take care of the rest for you. Just it!
_NOTE: For now only works with ES2017._
## Getting Started
**Install with npm**
```
$ npm install jscompile
```
**Install with Yarn**
```
$ yarn add jscompile
```
**Run with npx (without installing)**
```
$ npx install jscompile
```
**Usage**
```
$ jscompile src dist
```
_NOTE: Only the folder name is required._
## CLI
```
$ jscompile --help
Usage:
$ jscompile [] []
Options:
-h, --help Display help information
-v, --version Output version
Examples:
$ jscompile src
$ jscompile src dist
```
## Contributing
Want to contribute? Follow these [recommendations](https://github.com/cjpatoilo/jscompile/contribute).
## License
Designed with ♥ by [CJ Patoilo](https://twitter.com/cjpatoilo). Licensed under the [MIT License](https://cjpatoilo.com/license).