Skip to content
transform humanize size to byte
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.editorconfig
.gitignore
.jshintignore
.jshintrc
.npmignore
.travis.yml
Makefile
README.md
index.js
package.json

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

You can’t perform that action at this time.