Skip to content

SowmyaaRamesh/trendy-username-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A package that allows you to generate random usernames based on gender preferences.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published