Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-ippublic

    ip

    Simple command line tool that gives you a list consisting of all your IPv4 addresses.

    Install

    $ (sudo) npm install node-ip -g
    

    Usage

    $ ip
    en0: 10.58.100.191
    en5: 10.58.71.59
    $
    

    To get the prefered ip only, use -l parameter.

    $ ip -l
    10.58.71.59
    $
    

    License

    MIT

    Keywords

    none

    install

    npm i node-ip

    Downloadslast 7 days

    80

    version

    0.1.2

    license

    MIT

    last publish

    collaborators

    • avatar