@mskashef/random-string-generator

1.0.3 • Public • Published

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @mskashef/random-string-generator

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.01 kB

    Total Files

    4

    Last publish

    Collaborators

    • mskashef