Skip to content

Latest commit

 

History

History

rndi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

rndi npm

Random integer generator.

Install

$ yarn add rndi

Usage

const getRandomInt: (min: number, max: number) => number
import { getRandomInt } from 'rndi'

const result = getRandomInt(50, 100)