1.1.1 • Published 3 years ago

nickname-generator v1.1.1

Weekly downloads
18
License
ISC
Repository
github
Last release
3 years ago

Nickname generator - French version only

Combine words to create a unique nickname.

Inspired by Xbox Live Gamertag's generator.

Install

You can install it through NPM:

npm install nickname-generator

Usage

const generator =  require('nickname-generator');

const nickname = generator.randomNickname();

const nickname = generator.randomNickname({ locale: 'fr', separator: '-', suffixLength: 0 });

Params

randomNickname method can take an optional object parameter with these attributes:

CategoryDescription
fruitsList of fruits
animalsList of animals
flowersList of flowers
instrumentsList of music instruments
objectsList of daily life objects
clothesList of clothes and accessories
bodyList of b ody parts
weatherList of weather-related words
gamesList of game-related words
sportsList of sport-related words
jobsList of jobs
adjectivesList of neutral adjectives
video_gamesList of videogame-related words

If no argument is provided to randomNickname, it will use the default parameters :

License

Released under the MIT license.