trendy-username
v1.0.5
Published
A package that generates random usernames based on preferences.
Downloads
24
Maintainers
Readme
trendy-username-npm-package
A package that allows you to generate random usernames based on gender preferences. It provides the following features:
- allows you to specify the number of usernames to generate
- allows for the addition of trendy prefixes to the username
- gender specific username generation
Installation
npm install trendy-username
Usage
- generateUsername(no_of_names,gender,prefix)
const generateUsername = require("trendy-username");
//Without prefix
let female_names = generateUsername(10, "female");
let male_names = generateUsername(5, "male");
//With prefix
let female_prefix = generateUsername(10, "female", true);
let male_prefix = generateUsername(10, "male", true);
console.log(female_names);
Example
- Sample usernames generated by the package
//male without prefix
Icarus
Argo
Eryx
Izaya
Richie
//male with prefix
OverlordFushi
VikingStrong
EpochVan
BoomDing
SmokyVaruch