Socket
Book a DemoInstallSign in
Socket

pretty-bytes-cli

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

pretty-bytes-cli

Convert bytes to a human readable string: 1337 → 1.34 kB

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
715
-16.86%
Maintainers
1
Weekly downloads
 
Created
Source

pretty-bytes-cli

Convert bytes to a human readable string: 13371.34 kB

Useful for displaying file sizes for humans.

Install

npm install --global pretty-bytes-cli

Usage

$ pretty-bytes --help

  Usage
    $ pretty-bytes <number>
    $ echo <number> | pretty-bytes

  Example
    $ pretty-bytes 1337
    1.34 kB
  • pretty-bytes - API for this module

Keywords

cli-app

FAQs

Package last updated on 13 Feb 2022

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