unique-random-string

1.1.0 • Public • Published

unique-random-string

A module that returns unique alphanumeric strings.

HOW TO INSTALL

npm install unique-random-string --save

HOW TO USE

const random = require('unique-random-string');

## METHOD
 
# RandomChar
This method takes an integer value as first argument which specifies the length of the returned string and an error first callback function  
 
console.log(random(10, (err, randomString)=>{
    if(err)
        { return err }
        
        else{
            return randomString
        }
    }))
 
//Returns b3n5l6kopz

/unique-random-string/

    Package Sidebar

    Install

    npm i unique-random-string

    Weekly Downloads

    5

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    2.18 kB

    Total Files

    3

    Last publish

    Collaborators

    • hijazi313