{"_id":"byteman","_rev":"4634352","name":"byteman","description":"🤖 Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","dist-tags":{"latest":"1.3.5"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"time":{"modified":"2026-04-10T19:07:43.000Z","created":"2016-12-29T17:19:19.048Z","1.3.5":"2017-08-18T08:23:08.798Z","1.3.4":"2017-08-18T06:55:41.834Z","1.3.3":"2017-04-11T19:59:48.092Z","1.3.2":"2017-04-11T19:58:32.172Z","1.3.1":"2017-04-11T19:55:57.092Z","1.3.0":"2017-03-14T18:51:34.206Z","1.2.0":"2017-03-14T18:32:15.103Z","1.1.0":"2017-03-07T07:49:26.758Z","1.0.0":"2016-12-29T17:19:19.048Z"},"users":{},"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"versions":{"1.3.5":{"name":"byteman","version":"1.3.5","description":"🤖 Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"b477ca9f306b9e4f079aaabac40b735780de1b7b","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.5","_npmVersion":"5.3.0","_nodeVersion":"7.9.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"d6061f7536c7e7c4bcb756037ef9c4c266ec51fd","size":2603,"noattachment":false,"key":"/byteman/-/byteman-1.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.5.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byteman-1.3.5.tgz_1503044587850_0.005786527879536152"},"directories":{},"publish_time":1503044588798,"_hasShrinkwrap":false,"_cnpm_publish_time":1503044588798,"_cnpmcore_publish_time":"2021-12-16T19:09:37.886Z"},"1.3.4":{"name":"byteman","version":"1.3.4","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"f3946297928768aa6ccceeb1620632826b075014","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.4","_npmVersion":"5.3.0","_nodeVersion":"7.9.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"37585b9d46bbc1925b420b531f892da3053294d7","size":2601,"noattachment":false,"key":"/byteman/-/byteman-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.4.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byteman-1.3.4.tgz_1503039340903_0.10700539709068835"},"directories":{},"publish_time":1503039341834,"_hasShrinkwrap":false,"_cnpm_publish_time":1503039341834,"_cnpmcore_publish_time":"2021-12-16T19:09:38.064Z"},"1.3.3":{"name":"byteman","version":"1.3.3","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"199d6f1c6f9e98a7511d4b88665208134804157c","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.3","_shasum":"63ecce9dd873ff9609b9c66de71c67d6a98945e7","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"63ecce9dd873ff9609b9c66de71c67d6a98945e7","size":2353,"noattachment":false,"key":"/byteman/-/byteman-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.3.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/byteman-1.3.3.tgz_1491940787523_0.782789786811918"},"directories":{},"publish_time":1491940788092,"_hasShrinkwrap":false,"_cnpm_publish_time":1491940788092,"_cnpmcore_publish_time":"2021-12-16T19:09:38.256Z"},"1.3.2":{"name":"byteman","version":"1.3.2","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"1fcfe425aac8ef5955bbf0d217c4684183e45906","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.2","_shasum":"d4c5d44d2329c7c71708ac0ca93bbfbcef649f60","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"d4c5d44d2329c7c71708ac0ca93bbfbcef649f60","size":2347,"noattachment":false,"key":"/byteman/-/byteman-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.2.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/byteman-1.3.2.tgz_1491940711601_0.3783622875344008"},"directories":{},"publish_time":1491940712172,"_hasShrinkwrap":false,"_cnpm_publish_time":1491940712172,"_cnpmcore_publish_time":"2021-12-16T19:09:38.473Z"},"1.3.1":{"name":"byteman","version":"1.3.1","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"7c5d7d553aa3a6e646aa166dc8c2ae5ce1be650e","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.1","_shasum":"59c29c126d957d4385c44081e82d4a69e33713c1","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"59c29c126d957d4385c44081e82d4a69e33713c1","size":2352,"noattachment":false,"key":"/byteman/-/byteman-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.1.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/byteman-1.3.1.tgz_1491940555249_0.34717066143639386"},"directories":{},"publish_time":1491940557092,"_hasShrinkwrap":false,"_cnpm_publish_time":1491940557092,"_cnpmcore_publish_time":"2021-12-16T19:09:38.680Z"},"1.3.0":{"name":"byteman","version":"1.3.0","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"8996d8b5617acffdc5580b1e2e7d31e4a3052fe1","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.3.0","_shasum":"916e4490ede20cb8de32b69300b26809d80827c1","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"916e4490ede20cb8de32b69300b26809d80827c1","size":2364,"noattachment":false,"key":"/byteman/-/byteman-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.3.0.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/byteman-1.3.0.tgz_1489517492244_0.9770992193371058"},"directories":{},"publish_time":1489517494206,"_hasShrinkwrap":false,"_cnpm_publish_time":1489517494206,"_cnpmcore_publish_time":"2021-12-16T19:09:38.909Z"},"1.2.0":{"name":"byteman","version":"1.2.0","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"f8cc553f81fc941ea2355611e3e52fb172eb7110","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.2.0","_shasum":"d0c3bfd748c187172bae769ba4dd5207e598cfa3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"d0c3bfd748c187172bae769ba4dd5207e598cfa3","size":2385,"noattachment":false,"key":"/byteman/-/byteman-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.2.0.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/byteman-1.2.0.tgz_1489516333104_0.5734471920877695"},"directories":{},"publish_time":1489516335103,"_hasShrinkwrap":false,"_cnpm_publish_time":1489516335103,"_cnpmcore_publish_time":"2021-12-16T19:09:39.100Z"},"1.1.0":{"name":"byteman","version":"1.1.0","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"5187955a6b0aece6c4e4dade6209395a7655529b","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.1.0","_shasum":"6ba1b252d0896c83bc001019c57685cdb366e557","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"6ba1b252d0896c83bc001019c57685cdb366e557","size":2332,"noattachment":false,"key":"/byteman/-/byteman-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.1.0.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/byteman-1.1.0.tgz_1488872964969_0.5139382902998477"},"directories":{},"publish_time":1488872966758,"_hasShrinkwrap":false,"_cnpm_publish_time":1488872966758,"_cnpmcore_publish_time":"2021-12-16T19:09:39.301Z"},"1.0.0":{"name":"byteman","version":"1.0.0","description":"Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","main":"./index","repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"files":["index.js"],"scripts":{"test":"node test.js"},"keywords":["bytes","human","convert","format"],"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"license":"MIT","gitHead":"9d54962645b5aa4818178de59e06995e72289e03","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"homepage":"https://github.com/davidgatti/byteman#readme","_id":"byteman@1.0.0","_shasum":"3880282dab1b7a1b02f3ba7dd30d35cb97b85e13","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"davidgatti","email":"office@gatti.pl"},"dist":{"shasum":"3880282dab1b7a1b02f3ba7dd30d35cb97b85e13","size":2186,"noattachment":false,"key":"/byteman/-/byteman-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/byteman/download/byteman-1.0.0.tgz"},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/byteman-1.0.0.tgz_1483031958356_0.27157882833853364"},"directories":{},"publish_time":1483031959048,"_hasShrinkwrap":false,"_cnpm_publish_time":1483031959048,"_cnpmcore_publish_time":"2021-12-16T19:09:39.545Z"}},"readme":"[![downloads][downloads-badge]][npm-stat]\n\n[downloads-badge]: https://img.shields.io/npm/dm/byteman.svg?style=flat-square\n[npm-stat]: http://npm-stat.com/charts.html?package=byteman&from=2016-04-01\n\n---\n\n# ???? Byteman\n\nDisplay bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB\n\nByteman is short for \"bytes to human\" which is a tool to convert a number, normally the amount of bytes of something in to a human readable format. For example `1000` bytes will become `1KB`. Helping you work with big number more easily, and also helping you user understand better what is going on.\n\n# Example\n\n```javascript\nlet byteman = require('byteman');\n\nlet human_form = byteman(10000);\nlet human_form_decima = byteman(10000, 2);\n\nconsole.log(human_form)\nconsole.log(human_form_decima)\n```\n\n# Installation\n\n```\n$ npm install byteman -S\n```\n\n# The End\n\nIf you've enjoyed this article/project, please consider giving it a ???? or donate.\n\n- [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/gattidavid/25)\n- [![Star on GitHub](https://img.shields.io/github/stars/davidgatti/byteman.svg?style=social)](https://github.com/davidgatti/byteman/stargazers)\n- [![Watch on GitHub](https://img.shields.io/github/watchers/davidgatti/byteman.svg?style=social)](https://github.com/davidgatti/byteman/watchers)\n\nAlso check out my [GitHub account](https://github.com/davidgatti), where I have other articles and apps that you might find interesting.\n\n## Where to follow\n\nYou can follow me on social media ????????, at the following locations:\n\n- [GitHub](https://github.com/davidgatti)\n- [Twitter](https://twitter.com/dawidgatti)\n- [Instagram](https://www.instagram.com/gattidavid/)\n\n## More about me\n\nI don’t only live on GitHub, I try to do many things not to get bored ????. To learn more about me, you can visit the following links:\n\n- [Podcasts](http://david.gatti.pl/podcasts)\n- [Articles](http://david.gatti.pl/articles)\n- [Technical Articles](http://david.gatti.pl/technical_articles)\n- [Software Projects](http://david.gatti.pl/software_projects)\n- [Hardware Projects](http://david.gatti.pl/hardware_projects)\n","_attachments":{},"homepage":"https://github.com/davidgatti/byteman#readme","bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"license":"MIT"}