rndmzr

1.0.2 • Public • Published

Rndmzr

Rndmzr is an NPM library for generating random data.

Installation

Install:
npm install rndmzr --save

Then you can use the library:

const rndmzr = require('rndmzr')

console.log(rndmzr.number({
    // options
}))

Docs

Random Number

Usage:
rndmzr.number({ /** options */ })

Options:
floor: true|false (optional, default is false)
min: Number (optional, default is 0)
max: Number (optional, default is 1)

Random Name

Usage:
rndmzr.name({ /** options */ })

Options:
type: String (optional, can be a random string containing "f", "m", and "l", for each letter it will return a name and space (f=first,m=middle,l=last name), default is f)

/rndmzr/

    Package Sidebar

    Install

    npm i rndmzr

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.81 kB

    Total Files

    6

    Last publish

    Collaborators

    • alechash