1.1.1 • Published 3 years ago
nickname-generator v1.1.1
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:
Category | Description |
---|---|
fruits | List of fruits |
animals | List of animals |
flowers | List of flowers |
instruments | List of music instruments |
objects | List of daily life objects |
clothes | List of clothes and accessories |
body | List of b ody parts |
weather | List of weather-related words |
games | List of game-related words |
sports | List of sport-related words |
jobs | List of jobs |
adjectives | List of neutral adjectives |
video_games | List of videogame-related words |
If no argument is provided to randomNickname, it will use the default parameters :
License
Released under the MIT license.