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

Package Sidebar

Install

npm i ip2nick

Weekly Downloads

3

Version

0.0.5

License

MIT

Last publish

Collaborators

  • galanonym