{"name":"minify-stream","description":"minify javascript in a stream using uglify-js","version":"2.0.1","author":{"name":"Renée Kooi","email":"renee@kooi.me"},"bugs":{"url":"https://github.com/goto-bus-stop/minify-stream/issues"},"dependencies":{"concat-stream":"^2.0.0","convert-source-map":"^1.5.0","duplexify":"^4.1.1","from2-string":"^1.1.0","terser":"^4.7.0","xtend":"^4.0.1"},"devDependencies":{"dedent":"^0.7.0","pump":"^3.0.0","standard":"^14.3.1","tap-spec":"^5.0.0","tape":"^5.0.1"},"engines":{"node":">= 6"},"homepage":"https://github.com/goto-bus-stop/minify-stream","keywords":["minify","stream","uglify-js"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/goto-bus-stop/minify-stream.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"gitHead":"ed6ace8dcea9a77ab3ee5b483754dd585e1a350d","_id":"minify-stream@2.0.1","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DAaWEQKgVHG7SbOmQxwzJZuErKCGdaPFehKyM/Dezo8FrNKsXMmUtsUMa1n7cjftAGp/CH/mzh8kjWTW7MTzMg==","shasum":"4f7009c951aec7fdbc95f2e0de82bf3d7a16209f","tarball":"http://registry-npm.ywwl.com/minify-stream/download/minify-stream-2.0.1.tgz","fileCount":7,"unpackedSize":7758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3otQCRA9TVsSAnZWagAAzVsP/2ZhQcw+9OHa2gGfStOJ\n3qgQNqex5cxGlO9Jjv0N7o3/58u6HzLgXudrvGVgdQ8jI7DgG2yOeKl5FYYf\nv01Pp6mYrdxuohH8u+hRKcaHR4Z5PtIp8vbDQKmz1RdyG79jmCcTK+LmrMIC\nIKRGBYXDN+Jys9ZHKuz994lOfV8/2ggGC/pVfkGAPnSTxvnvjOWICRg0mFex\nQBiYmMD/y+aqXKyp0QguYviDiyWxHDHuBMw285A9Uk2xVZmHLcwXHjX+qZwq\nxqfFoQkdIosauFya+GH5PpPPr6ngUGDILwkTcOOp5Pf+iTW1ShY7/MG08LYw\nPMOxw/Ju0dkSa0IaXWfzqGH+MvqBGeOGN9GbmrogzEGEtoy2dBkMBGKAmUc7\niIGPoG+/ojwBldu92p/D70WkcWqAyvF99neB4yLx7/IUDUadsGr1sz67pOQ8\n1nWASpJgS8soM4LKqLK403z5gZ1c/7fWvYnoNyOj2BnF5EnQcmGbw1XYbCkk\nzyrc8rdB3UqakHH2csmHjdzTkhfescfYp9zKOMVoeHx538yDH/sW3MsESqoV\npHqZhE6PZq4mui1gDd9LDL3RCOvUMNRu0K73BRDZmFGff4XKhW/aFwS9SPXn\neDew+zM+eoZztCraCTvfP02XorR669CEGh9hiFPScExQ+hcrd9drEfquaxSV\nZDLu\r\n=K19u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3e69WuGz2P13Eu8jthHl0Vj/XqUWQgxSdwfmGF112HwIhAK87WhfBw2z4Ubc8W9Zj+mX6PXBsWL+0Rg0LPVdQ39DO"}],"size":3580,"noattachment":false,"key":"/minify-stream/-/minify-stream-2.0.1.tgz"},"maintainers":[{"email":"rene@kooi.me","name":"goto-bus-stop"},{"email":"todd@selfassembled.org","name":"toddself"}],"_npmUser":{"name":"goto-bus-stop","email":"renee@kooi.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minify-stream_2.0.1_1591642959681_0.7754067761379628"},"_hasShrinkwrap":false,"readme":"# minify-stream\n\nminify javascript in a stream using uglify-js\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![standard][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/minify-stream.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/minify-stream\n[travis-image]: https://img.shields.io/travis/goto-bus-stop/minify-stream.svg?style=flat-square\n[travis-url]: https://travis-ci.org/goto-bus-stop/minify-stream\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n\n## Install\n\n```\nnpm install minify-stream\n```\n\n## Usage\n\n```js\nvar minifyStream = require('minify-stream')\n\nfs.createReadStream('app.js')\n  .pipe(minifyStream())\n  .pipe(fs.createWriteStream('app.min.js'))\n```\n\n## API\n\n### `minifyStream(?options)`\n\nCreate a new minify stream. Write a Javascript file or bundle to it.\nPossible `options` are:\n\n - `uglify` - An uglify module to use, defaults to [`terser`](https://npmjs.com/package/terser).\n   It must have an uglify-compatible `minify()` function.\n - All other options are passed to the `minify()` function as the second parameter.\n   See the [terser docs](https://github.com/fabiosantoscode/terser#minify-options) for available options.\n\n`minify-stream` adds inline source maps by default. Use [`exorcist`](https://npmjs.com/package/exorcist)\nto extract source maps from the output stream into a separate file. If you don't need source maps, pass\nthe `sourceMap: false` option to disable them.\n\n```js\nminifyStream({ sourceMap: false })\n```\n\n## License\n\n[MIT](LICENSE.md)\n","publish_time":1591642959856,"_cnpm_publish_time":1591642959856,"dist-tags":{"latest":"2.1.0"}}