npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

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

6,644

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability