Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 874 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 874 Bytes

Info about library

Build Status Coverage Status npm version

This library will serve to generate lists of random numbers with the specified length,...

Installation

npm install random-int-list --save

Usage

JS

var t = require('random-int-list');
console.log(t.randomIntList(5, 1, 5));

Result => [ 1, 3, 5, 4, 2]

Typescript

import { randomIntList } from 'random-int-list');
console.log(randomIntList(5, 1, 5));

Result => [ 1, 3, 5, 4, 2]