Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#parse-bytes

Parse file size into an object, inspired by parse-ms

##Install

$ npm install parse-bytes --save

##Usage

var parseBytes = require("parse-bytes");
parseBytes(3003, true);
//=> { b: 3, kb: 3, mb: 0, gb: 0, tb: 0, pb: 0 }

License

MIT © Jarvys

About

Parse file size into an object

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages