generate-unique-username
v1.1.0
Published
This repository provide you an option to generate unique usernames
Downloads
12
Maintainers
Readme
Introduction
Javascript library to generate you unique username provide by your name
Generate username with your FullName
generateUsername(name: String: required)
Generate randome username
generateRandomName(username_length: Number: optional | defaultValue: 10)
Installation
npm install generate-unique-username
Usage
const { generateUsername } = require("generate-unique-username");
console.log(generateUsername("Aman Sultan Baig"));
Expected Output
amansultanbaig_1297;
const { generateRandomName } = require("generate-unique-username");
console.log(generateRandomName(5));
Expected Output
ZbWNZ;