🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

humanb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

humanb

Converts Bytes to Human Bytes

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

humanb Build Status

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

FAQs

Package last updated on 11 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts