@m31271n/random-number

1.0.0 • Public • Published

random-number

code style: prettier Dependency Status DevDependency Status Travis Build Status NPM Downloads

Get a number randomly.

Install

$ npm install @m31271n/random-number

Usage

import randomNumber from '@m31271n/random-number'

randomNumber({
  min: 1
  max: 1000,
  float: true,
  includeMax: true
})

API

randomNumber(options)

property type description
min Number minimum value
max Number maximum value
float Boolean float or integer
includeMax Boolean include maxmum value or not

License

MIT © m31271n

Readme

Keywords

Package Sidebar

Install

npm i @m31271n/random-number

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.72 kB

Total Files

3

Last publish

Collaborators

  • m31271n_