{"_id":"byteman","_rev":"13-1b3df0702a77cf00eca34735e140a437","name":"byteman","description":"🤖 Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB","dist-tags":{"latest":"1.3.5"},"versions":{"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.0.0.tgz","integrity":"sha512-ciKF3yPByS7YRDvSWbdza18upX3Chw5zcNhBLoodiPiX3AKHDxbkt9KKXG4Yo8xsCybOReeTXmWP8mgApjh2zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHUGXYuISVHG+0hwpI32UZ4eINiD0CI+PBmU+fzKyjyAiEAopt/mDcmGefUmmO+jTVqy0z42emj9ppvCzXiVdIDVd4="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.1.0.tgz","integrity":"sha512-lKEX+Nkpb81uXKSOFTSplbQXDMsH9mkg38Lpr7RC4ACcKFx3cdQHfCLPEvxbfj7eipWXG7P8JGtHn1qePxy5pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPTEHZjcQNrtuW6/WubfVz/lC2vsh2XzzQsr5i4x6V+AiBcx5C8zQvgsSxaEBLpEeZuzQlk4vLsQJCNs86PxDPwow=="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.2.0.tgz","integrity":"sha512-yealCAcf8j9nLaNnWKw/MLnQ49oBDLtQ/0SON7lIO3zDfu9TlcR97nSbTC13K07MfVLxLDWZjzAiSrEEedIvlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRpGbvf9LIFA2EQrBomNHgi4CsobHAFDtOP4bvWYnvHAiEA6QuAbKJHS+rGHvpHvxvn6k6iK71YG/fcghWYpFFs9w8="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.0.tgz","integrity":"sha512-ydEN337LBcht8aLuoHZa6nOTFvPdJiro9CfXBSo6fdDuxdrehoKT528oGdnIUQQct/5b52Gx87laPdWNXpX3mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClO/4EAss3JlZEzkIzIhFYB1N4oOo57NCOXRVK8TdVLgIgEpwaOpB1nAG373MYm32T0wgc/i+LgEhvTxXJuwGQMEY="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.1.tgz","integrity":"sha512-KjwEjlSltAM8R9KQIna7Es7CCdU7WSbJT3MWiUdMvI70iZNeF6+ncEHBl7TEgMrM84gJ3aHSkZkNv9jnR6tH2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV05yoBAvllZbrzr9i7xjuMj+JXoLY+H1T5rpFDd7OkgIgflLBgV5ayYxLHHgtM7H6qdR2aFaIZ6GA2QYP8nKPAvM="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.2.tgz","integrity":"sha512-yPSegk1mBaEKtjBSJAQCUBGitHu5H9n6QfKFxqBMKxcwc4HWb9eetxuOH8tDs7VbhqUy08A8vlpL3iODryHWiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbFSzpfFbZ60S771FZunE/uTWf48yXGvbSSA1jy7C1dAiB/HNEk28D3fKZQeZ+adrAOvp/uQ20O03686+yF6e1sdQ=="}]},"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"}},"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","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.3.tgz","integrity":"sha512-sk6tRTivnQcNblILgl30HfOpyqvIOF5IuekrNz0hhMS1yjewrzH6Ko1zIffvCCeYkkxoBoaDtv1joUnEE8LtZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2PlVdpXK5Fz8DprayBsVoqq4QoQx6fng5rXdex6faWAiABrOouwMvjDWna5eHdPbxAxR/K264btlzyf4QvidyCCA=="}]},"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"}},"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":{"integrity":"sha512-XLg6EQAc4EaFML4jXlm2tr+0mqySThyhV1NmL6U7k/88XpY/Hjx2xHrVtUqe/lyHCPNyCC0elwqJXabphbyI/A==","shasum":"37585b9d46bbc1925b420b531f892da3053294d7","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHwI4LFHvbGWiNa+Ac19K6MH7pNK0LY31jLa/fkmer+ICIC6lPHpaB1lK/XWm4Z6l7ax94lduAv1MoYTG8Eyx1+BQ"}]},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byteman-1.3.4.tgz_1503039340903_0.10700539709068835"}},"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":{"integrity":"sha512-FzWDstifFRxtHX234b93AGa1b77dA6NUFpEXe+AoG1NydGN//XDZLMXxRNUoMf7SYYhVxfpwUEUgQOziearJvA==","shasum":"d6061f7536c7e7c4bcb756037ef9c4c266ec51fd","tarball":"https://registry.npmjs.org/byteman/-/byteman-1.3.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLZ93xa5Sxh1xtsBfAhNXUeKh0VJKqTrKrMCo9y+c7kAiEAtX11CYMc69X6T2h5ti2JriVfQg26ZOPE0r1Zxe5IZMc="}]},"maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/byteman-1.3.5.tgz_1503044587850_0.005786527879536152"}}},"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","maintainers":[{"name":"davidgatti","email":"office@gatti.pl"}],"time":{"modified":"2022-06-13T05:21:27.946Z","created":"2016-12-29T17:19:19.048Z","1.0.0":"2016-12-29T17:19:19.048Z","1.1.0":"2017-03-07T07:49:26.758Z","1.2.0":"2017-03-14T18:32:15.103Z","1.3.0":"2017-03-14T18:51:34.206Z","1.3.1":"2017-04-11T19:55:57.092Z","1.3.2":"2017-04-11T19:58:32.172Z","1.3.3":"2017-04-11T19:59:48.092Z","1.3.4":"2017-08-18T06:55:41.834Z","1.3.5":"2017-08-18T08:23:08.798Z"},"homepage":"https://github.com/davidgatti/byteman#readme","keywords":["bytes","human","convert","format"],"repository":{"type":"git","url":"git+https://github.com/davidgatti/byteman.git"},"author":{"name":"David Gatti","email":"npm@gatti.pl","url":"https://github.com/davidgatti"},"bugs":{"url":"https://github.com/davidgatti/byteman/issues"},"license":"MIT","readmeFilename":"README.md","users":{"davidgatti":true}}