https://github.com/jstransformers/jstransformer-uglify-js
UglifyJS support for JSTransformers.
https://github.com/jstransformers/jstransformer-uglify-js
Last synced: 4 months ago
JSON representation
UglifyJS support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-uglify-js
- Owner: jstransformers
- License: mit
- Created: 2015-02-13T21:54:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:04:14.000Z (about 6 years ago)
- Last Synced: 2025-09-30T17:59:35.087Z (9 months ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-uglify-js
- Size: 69.3 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-uglify-js
[UglifyJS](https://www.npmjs.com/package/uglify-js) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-uglify-js)
[](https://codecov.io/gh/jstransformers/jstransformer-uglify-js)
[](http://david-dm.org/jstransformers/jstransformer-uglify-js)
[](https://www.npmjs.org/package/jstransformer-uglify-js)
## Installation
npm install jstransformer-uglify-js
## API
```js
var uglify = require('jstransformer')(require('jstransformer-uglify-js'))
uglify.render('var x = 5; var y = 6;').body
//=> 'var x=5,y=6'
```
## License
MIT