Nuns Practicing Misanthropy
    Have ideas to improve npm?Join in the discussion! »

    random-functions

    1.0.2 • Public • Published

    Javascript function for random data

    With this library you can get dummy/random data from functions

    Installation

    Use the package manager npm to install random-functions.

    npm install random-functions --save

    Usage

    import randomF from 'random-functions';
    #or 
    const randomF = require('random-functions');
     
    var color = randomF.color()# returns '#hascodeforcolor' e.g. #0E8F3B 
    var static_color = randomF.static_color(2)# 2 is index upto 280 
    var otp = randomF.otp()#return random OTP code 

    Contributing

    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

    Please make sure to update the tests as appropriate.

    BLOG

    koffeewithkode

    Install

    npm i random-functions

    DownloadsWeekly Downloads

    102

    Version

    1.0.2

    License

    none

    Unpacked Size

    5.35 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar