{"_id":"humanize-bytes","_rev":"1213153","name":"humanize-bytes","description":"transfer humanize size to byte","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"time":{"modified":"2021-10-13T05:46:41.000Z","created":"2014-08-28T08:58:54.185Z","1.0.1":"2015-12-24T05:20:40.003Z","1.0.0":"2014-08-28T08:58:54.185Z"},"users":{},"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+https://github.com/node-modules/humanize-bytes.git"},"versions":{"1.0.1":{"name":"humanize-bytes","version":"1.0.1","description":"transfer humanize size to byte","main":"index.js","scripts":{"test":"make test"},"keywords":[],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+https://github.com/node-modules/humanize-bytes.git"},"license":"MIT","dependencies":{"bytes":"~2.2.0"},"devDependencies":{"autod":"~0.3.2","istanbul":"~0.3.0","mocha":"~1.21.4","should":"~4.0.4"},"gitHead":"3684546fda452cc32032eebda7e0ab0822ff9e58","bugs":{"url":"https://github.com/node-modules/humanize-bytes/issues"},"homepage":"https://github.com/node-modules/humanize-bytes#readme","_id":"humanize-bytes@1.0.1","_shasum":"21f57ca318d211a006dc9798a46584faf2d97e9c","_from":".","_npmVersion":"2.12.0","_nodeVersion":"4.2.3","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"21f57ca318d211a006dc9798a46584faf2d97e9c","size":14915,"noattachment":false,"key":"/humanize-bytes/-/humanize-bytes-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/humanize-bytes/download/humanize-bytes-1.0.1.tgz"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"directories":{},"publish_time":1450934440003,"_cnpm_publish_time":1450934440003,"_hasShrinkwrap":false},"1.0.0":{"name":"humanize-bytes","version":"1.0.0","description":"transfer humanize size to byte","main":"index.js","scripts":{"test":"make test"},"keywords":[],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"https://github.com/node-modules/humanize-bytes"},"license":"MIT","dependencies":{"bytes":"~1.0.0"},"devDependencies":{"autod":"~0.3.2","istanbul":"~0.3.0","mocha":"~1.21.4","should":"~4.0.4"},"gitHead":"1c7a013bfc8c35ce627ebd8db40eed568ba44260","bugs":{"url":"https://github.com/node-modules/humanize-bytes/issues"},"homepage":"https://github.com/node-modules/humanize-bytes","_id":"humanize-bytes@1.0.0","_shasum":"dde1a1ef1ec258bf548863bc41bd47f6e1cd14ab","_from":".","_npmVersion":"1.4.24","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"dist":{"shasum":"dde1a1ef1ec258bf548863bc41bd47f6e1cd14ab","size":14929,"noattachment":false,"key":"/humanize-bytes/-/humanize-bytes-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/humanize-bytes/download/humanize-bytes-1.0.0.tgz"},"directories":{},"publish_time":1409216334185,"_cnpm_publish_time":1409216334185,"_hasShrinkwrap":false}},"readme":"humanize-bytes\n---------------\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Gittip][gittip-image]][gittip-url]\n[![David deps][david-image]][david-url]\n\n[npm-image]: https://img.shields.io/npm/v/humanize-bytes.svg?style=flat\n[npm-url]: https://npmjs.org/package/humanize-bytes\n[travis-image]: https://img.shields.io/travis/node-modules/humanize-bytes.svg?style=flat\n[travis-url]: https://travis-ci.org/node-modules/humanize-bytes\n[coveralls-image]: https://img.shields.io/coveralls/node-modules/humanize-bytes.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/node-modules/humanize-bytes?branch=master\n[gittip-image]: https://img.shields.io/gittip/dead-horse.svg?style=flat\n[gittip-url]: https://www.gittip.com/dead-horse/\n[david-image]: https://img.shields.io/david/node-modules/humanize-bytes.svg?style=flat\n[david-url]: https://david-dm.org/node-modules/humanize-bytes\n\ntransfer humanize size to bytes\n\n## Installation\n\n```bash\n$ npm install humanize-bytes\n```\n\n## Examples\n\n```js\nvar bytes = require('humanize-bytes');\n\nbytes('1kb') // => 1024\nbytes(1024) // => 1024\n```\n\n### License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/node-modules/humanize-bytes#readme","bugs":{"url":"https://github.com/node-modules/humanize-bytes/issues"},"license":"MIT"}