Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ip2nick

galanonym34MIT0.0.5

Simple library to generate a nickname out of an IP address.

nickname, generator, ip, address, nicknames, names, nick, syllable

readme

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