trendy-username

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i trendy-username

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

98.6 kB

Total Files

7

Last publish

Collaborators

  • sowmyaramesh