npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

humanize-bytes

1.0.1 • Public • Published

humanize-bytes

NPM version build status Test coverage Gittip David deps

transfer humanize size to bytes

Installation

$ npm install humanize-bytes

Examples

var bytes = require('humanize-bytes');
 
bytes('1kb') // => 1024
bytes(1024) // => 1024

License

MIT

Keywords

none

install

npm i humanize-bytes

Downloadsweekly downloads

5,297

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability