{"name":"minify-stream","description":"minify javascript in a stream using uglify-js","version":"2.0.0","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.6.9","xtend":"^4.0.1"},"devDependencies":{"dedent":"^0.7.0","pump":"^3.0.0","standard":"^14.3.1","tap-spec":"^5.0.0","tape":"^4.0.0"},"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":"26748979d575d271b3058f95e2618a42804d7249","_id":"minify-stream@2.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-rX3ir5vMV7TBvtYqqSlrychGTiwyuBiBDPoIv2AYTwVTyuOOVeTLWHaYmGf/lbME/S4dvOJp0Y9Gj3yAfnhiXg==","shasum":"ab52f666af68d0531d4205e778306f6940973022","tarball":"http://registry-npm.ywwl.com/minify-stream/download/minify-stream-2.0.0.tgz","fileCount":7,"unpackedSize":7715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegwZfCRA9TVsSAnZWagAAH2YQAJ0ulF0g7nAv3X3ZOgBo\nU8OKGnh5Qa/lXJK0O671DtnOiFkbtfHvAzwAe6RyVhDk+AvSakfY8qJ8S11o\nqKbad/1xkqIPNiVhkFvHwBAhczCeJIbdAhHcBo6T6vdhOJwVEGVj1ekx18FE\ntLLgwixNRmyScZ1+9h6sRE7upUSWGpMTsB0nVQ/J4+Wwnjzi721SnfPbLDqN\nm6dtiMh7sL109cwtNIxlNVa8gcGm0oDEPz5IQpk8w/SbXwc67teGP14D8VkH\nV4OPJrJNgk60gXV6rHpQa1mgCGlnOY3fSCsouVQsRFAMm9dTNF2EUaDaNexf\nt956qlcmwgXW+7hPzFDSgun+vJV02fg/iaD8DuYxnJd3WkeEe/IpYQP0eUzf\nNbiEJo+L+Tf+8Mdx3/IsGQgXA+mloLyDR7c1MlXFN9rP/rxoMhD5KSX4lXaa\nMPtjXbtizi8P88rl9SunE2N1QD9FBKk2T9AsJAtzwITU65xo8d2sW+VhlDUD\nh0U/C9ppIEjZEw/sE1GY8VnvLYxrj3vL1yXK+TJ59KBDGQZJjwxNhw3ZKqWh\n2jfBXSz5cYCPiOwUpcKpbFeyW8rhJI+L5AEccwRZulYhs1J402m78kUhDRti\nwJcPHJQ95+q0ZEOCoPzenrghrGUpWpttmNcTolhZRtG6FVdYmbQYLo+TcLCD\n01vx\r\n=yIiS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDno+1vmSiyu0KyuLN4HIlJUv6umI3yO2WsllJhFu6vCwIgaxtFAjjYCCyGKUXLX3ScUfVK9aMAV4JN80u1zXtpBZg="}],"size":3576,"noattachment":false,"key":"/minify-stream/-/minify-stream-2.0.0.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.0_1585645150692_0.8308943529340362"},"_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":1585645150797,"_cnpm_publish_time":1585645150797,"dist-tags":{"latest":"2.1.0"}}