Lawsun d230cfbce0 first commit il y a 1 an
..
coverage d230cfbce0 first commit il y a 1 an
.editorconfig d230cfbce0 first commit il y a 1 an
.jshintignore d230cfbce0 first commit il y a 1 an
.jshintrc d230cfbce0 first commit il y a 1 an
.npmignore d230cfbce0 first commit il y a 1 an
.travis.yml d230cfbce0 first commit il y a 1 an
README.md d230cfbce0 first commit il y a 1 an
index.js d230cfbce0 first commit il y a 1 an
package.json d230cfbce0 first commit il y a 1 an

README.md

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