1.0.5 • Published 2 years ago

trendy-username v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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