Skip to content

andersnylund/nicks

Repository files navigation

nicks · Build Status

Create a nickname or user id with names.

Suggests a list of nicknames with some simple rules.

Install

yarn add nicks or npm install nicks

Usage

import nicks from 'nicks';

const nicknames = nicks('Matti Meikäläinen-Muukalainen');

console.log(nicknames); // ['mmeika', 'meikam', 'matmei', 'meimat']