{"name":"minify-stream","description":"minify javascript in a stream using uglify-js","version":"1.2.1","author":{"name":"Renée Kooi","email":"renee@kooi.me"},"bugs":{"url":"https://github.com/goto-bus-stop/minify-stream/issues"},"devDependencies":{"dedent":"^0.7.0","pump":"^3.0.0","standard":"^14.3.1","tap-spec":"^5.0.0","tape":"^4.0.0"},"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"},"dependencies":{"concat-stream":"^2.0.0","convert-source-map":"^1.5.0","duplexify":"^4.1.1","from2-string":"^1.1.0","terser":"3.16.1","xtend":"^4.0.1"},"gitHead":"286914c8a8fd505eff051ca5946b648f60fe3799","_id":"minify-stream@1.2.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-C6CESrYf8sncwbvS5rAb2kjKmWDswoZxoTN2agmAGKygdC/VqB1kDwpv19ZRMFvd7assj9lNgZcBGhh6PVByrg==","shasum":"e65336ead34bd8e62109f35f268f87bb8b1e3eb8","tarball":"http://registry-npm.ywwl.com/minify-stream/download/minify-stream-1.2.1.tgz","fileCount":7,"unpackedSize":7633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvaRzCRA9TVsSAnZWagAApbMQAJpTopOytGtWHyWIo98A\neLFqS4nwreYBTbtlPpqayeOSJj1RA8mCo1rpvzk2XDi/VMcR0P3pGH/rZrvh\nMLJs0qetQ+yXsM0hFsGppFGbyVCXqvDp91l02uDb3LwIUFmyz1ufsAfD1slc\nzgD8GbmPOvKvauaNiBIutxiiSyW2OKQ5FVjCKemVw0LWXxFA4xg44I+v3ws+\nJ3kOGzNTDAhYlV0RJ6ymZqOrZgBQM6O+UBsfu5T6Mgz9r0dfID+QNV9qwwaO\nJo2ZRkR3aHum9dmhBq1X6oeuxJCdtcBztpLB25eBSb9ULnycsOm8/Vaon2Sr\n+5zoySKKl12imv7pcpyRzsTnXQ5hOok+huVW9Dy/6YOFweBtuO+mA0iYlX0w\nTGfGqfiH/TCMYKqfLLCXuRoq+b1fiYyx0RP8Menl1LniEJ8u4pwW2bBs9Fkp\nvQ4Kj3LVD0o4D8Gj/jyxaiVYCwfDWa3cnj0IpD3zcYtFUsI7xBMw3TRmNMm1\n2bdOApjZYpzpQPlmLG53CQMDvrIUE4wz/pGaw1v3lF/B9TSqzQqkovN5CQJ5\nONGM4biEGbyMEZolhILLHriqY4EiFnS/t7Kh29lMgMnmNpSawxiZDHhPmtFL\nIjNUDcSGe9PyeUCbIh9NJLo0VqK1C3/FugHseH29Q38hvQxlvRTGvL8Mmt7A\nOOyE\r\n=SceB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMN2/+g10llR0ekDYiD1aa/lLrCnJf7+r7O6MysK8PoAIgOQTiJWkvOE08gtd8ETAPZiTj+x7Z+xHL+rCTbz3BrC4="}],"size":3542,"noattachment":false,"key":"/minify-stream/-/minify-stream-1.2.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_1.2.1_1572709491106_0.546143394270497"},"_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":1572709491286,"_cnpm_publish_time":1572709491286,"dist-tags":{"latest":"2.1.0"}}