Wondering what’s next for npm?Check out our public roadmap! »

    isbinary-num

    2.1.7 • Public • Published

    isbinary-num

    Simple module to test if number is binary number

    install size

    Usage

    const test = require("isbinary-num")
    test("00000010101011001011110f0010110100");
    // outputs: true
     
    test("2155665639569985463546587444444445");
    //outputs: false

    Terminal Usage

    Prefix is isbin, Example:

    $ isbin 0100100001101001
    true

    And

    $ isbin 564684136548blah77741
    false

    Install

    npm i isbinary-num

    DownloadsWeekly Downloads

    18

    Version

    2.1.7

    License

    ISC

    Unpacked Size

    3.49 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar