{"name":"minify-stream","description":"minify javascript in a stream using uglify-js","version":"1.2.0","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":"^1.0.2","standard":"*","tap-spec":"^4.0.2","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":"^1.6.0","convert-source-map":"^1.5.0","duplexify":"^3.5.1","from2-string":"^1.1.0","terser":"^3.7.5","xtend":"^4.0.1"},"gitHead":"dd8bc0f678104160078de902cc5d8eb5344d8445","_id":"minify-stream@1.2.0","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"goto-bus-stop","email":"rene@kooi.me"},"dist":{"integrity":"sha512-bIjBH7uGROwzWwgtbLO7U/yi+NBTLGs5YYidUiGD9nJZ5wuxX0485c48vtJ7WlNZNnKvHXA1D1ZXpfWJqf4fyg==","shasum":"23862be654191a9df0d1243a1a98b2d7bb1b8f8f","tarball":"http://registry-npm.ywwl.com/minify-stream/download/minify-stream-1.2.0.tgz","fileCount":7,"unpackedSize":7542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/bdYCRA9TVsSAnZWagAAW6YP/j7UeHLVRldojop6iblZ\nG9zt+30AK2JFBwq9vKQZOXuVTDjQgoIYb+E0iBJkuvp5PCcbwOOnOkNgqXb5\nahIBWvml3PkzSSneI9nT/BxItGOeeT6rmf31essPvZQsGTgmHNEwHH9o4yVF\nImPjv9xlMNGhULGsQd4lp49CmRc8h9mnPM4nvC1ck0E8/EtwqlhcilUE/SpU\nYBolo7hwdbwiACTLpbDWi/eJMo2diWCmuRfkKlplBJcHtbAaIDmLhYa36I0x\nR82V0ej6QxBkE2zIyXxOPCF5aiJ2uRln0oZE6CCsEdwA2thBewnP6A9tO/U5\nMP+jESNEqUaBm8yOb0FZDPKxil0sJUjXgFLycSJ70vp/nDGXX6FJ+qUljeaT\ng6DSFtRczNIbDzQiG6bKVtqy9BaI8C1GFKkif8d7zFlylKPkoTZuOhwRrq7y\nN8QmNpHpQ4sY8G+8zcvsLnZwFRTxRWHgRn3Lx/FGQ17K9OXoi0fjLcPakKrZ\n4X1Wp8rxmSO7roek8NAnf1e0Kc1s7ev0IwA0/BhomtJRo9ZzurPapATwRy2/\nEy6rrF380gXsJdL49mFfAG8isda7qEBA0VIDaa8DcTH47pORdUhxb0NxdPOB\nV54601Uq9r358bIh5HmlbX6cbfd+rLwuB060G+hEG6yY7Vd27B7hC/fEOpk/\ndFFF\r\n=FPTx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5EIOBAQHljg8l6USTl7oHyLRw3ZHTWzIECrnwbFaCFAiBHKXsrEDquN4LvLrAJCZms/lKLr1wuX9WNr6gFTErhgA=="}],"size":3507,"noattachment":false,"key":"/minify-stream/-/minify-stream-1.2.0.tgz"},"maintainers":[{"name":"goto-bus-stop","email":"rene@kooi.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minify-stream_1.2.0_1526576983610_0.22151894292132557"},"_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":1526576983662,"_cnpm_publish_time":1526576983662,"dist-tags":{"latest":"2.1.0"}}