0.0.3 • Published 10 years ago
humanb
Transforms a given filesize into a more readable form
Usage
This module is meant to be used in, at least, three different scenarios
Nodejs
var humanb = require('humanb');
var filesizes = 1024;
humanb(filesize);
// 1kb
Browser
Just reference the library and use it :)
Shell
humanb 1024
# 1kb