{"_id":"sizeist","_rev":"3-4e7bc9b7d354870aeb57fe5abb5b441e","name":"sizeist","description":"takes a readable stream and emits its size (in bytes) at various stages of compression","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"sizeist","version":"1.0.1","description":"takes a readable stream and emits its size (in bytes) at various stages of compression","main":"index.js","dependencies":{"pump":"~1.0.1","through2":"~0.6.3","uglify-stream":"git+https://github.com/michaelrhodes/uglify-stream#1.1.1","dev-null":"~0.1.1"},"devDependencies":{"tape":"~4.2.2"},"scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/sizeist"},"keywords":["bundle","size","uglify","gzip"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/sizeist/issues"},"homepage":"https://github.com/michaelrhodes/sizeist","gitHead":"f0c5d024862c08ee900f14ec0c5d5381cf6e6d6f","_id":"sizeist@1.0.1","_shasum":"14facc62ad36e6ffb970c9df9963f35ce4654552","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"14facc62ad36e6ffb970c9df9963f35ce4654552","tarball":"https://registry.npmjs.org/sizeist/-/sizeist-1.0.1.tgz","integrity":"sha512-vcLgwXP1BfvT5SQOrIIa4/bn1jHDQXrq0adkLZAHM+wdIUcg4vbqcvjibnIsqiCWL+25Ud34kDPBryyvvHVyew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChdzCW8o4n0kg3p6XvKdUKh7JYLW2H2ThxgAHTt5cS2AIhAMSdG1WXmUR8qnngmV2cLxdulLsgj2gHTjuu/h2aONNl"}]}}},"readme":"# sizeist\nsizeist takes a readable stream and emits its size (in bytes) at various stages of compression. This is useful for quickly determining the real-world size of a given module.\n\n[![Build status](https://travis-ci.org/michaelrhodes/sizeist.png?branch=master)](https://travis-ci.org/michaelrhodes/emoji-flag)\n\n## Install\n```sh\n$ npm install sizeist\n```\n\n## Usage\n```js\nvar fs = require('fs')\nvar sizeist = require('sizeist')\n\nfunction log (type) {\n  return console.log.bind(console, type)\n}\n\nsizeist(fs.createReadStream('usage.js'))\n  .on('size', log('size'))\n  .on('size:uglify', log('size:uglify'))\n  .on('size:uglify:gzip', log('size:uglify:gzip'))\n  .on('finish', log('done'))\n\n// Output:\n// size 387\n// size:uglify 273\n// size:uglify:gzip 168\n// done\n```\n\n## License\n[MIT](http://opensource.org/licenses/MIT)\n","maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"time":{"modified":"2022-06-26T20:26:52.867Z","created":"2015-12-13T02:27:27.552Z","1.0.1":"2015-12-13T02:27:27.552Z"},"homepage":"https://github.com/michaelrhodes/sizeist","keywords":["bundle","size","uglify","gzip"],"repository":{"type":"git","url":"https://github.com/michaelrhodes/sizeist"},"author":{"name":"Michael Rhodes"},"bugs":{"url":"https://github.com/michaelrhodes/sizeist/issues"},"license":"MIT","readmeFilename":"readme.md"}