Skip to content

mskashef/random-string-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random String Generator

Sample Usage

const RandomStringGenerator = require("@mskashef/random-string-generator");

const myRSG = RandomStringGenerator('0123456789ABCDEF', 6);

console.log(myRSG.new()); // C57F56
console.log(myRSG.new()); // 071F93
console.log(myRSG.new()); // 79DD28
console.log(myRSG.new()); // 88F402
console.log(myRSG.new()); // 42CF9C

or with a custom length at each time:

console.log(myRSG.new(5)); // 6AE7F

About

Random String Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published