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

    ip2nick

    0.0.5 • Public • Published

    ip2nick

    Simple IP to nickname generator. It maps three last numbers of an IPv4 address into a cool nickname.

    It always returns same nickname for same IP address. Nickname collisions can happen but are unlikely.

    var ip2nick = require('ip2nick');
    
    ip2nick('127.0.0.1'); // => actblobid
    ip2nick('wrong'); // => undefined
    

    *** Example results ***

    • 127.0.0.1 => mumpsbroth7
    • 255.255.255.255 => osmillshrimp
    • 192.168.1.5 =>lorundluj

    Install

    npm i ip2nick

    DownloadsWeekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • avatar