Nerfed Poet Melancholia

    bitbyte

    0.2.1 • Public • Published

    bitbyte

    Human-friendly bits and bytes (kilo, mega, giga, tera, peta)(bit/bytes)

    Basic Usage

    var byte = require('bitbyte')
    
    byte.toSI(1048576)
    => "1.05 MB"
    
    byte.toIEC(1048576)
    => "1.00 MiB"
    

    Bytes only at the moment! Bits coming soon!

    Install

    npm i bitbyte

    DownloadsWeekly Downloads

    4

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • jamesford