Skip to content

callumacrae/nums

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nums Build Status

A JavaScript library to generate an array of increasingly large or small numbers.

If you found this library through Google, well done.

Install

$ npm install --save nums

Usage

var nums = require('nums');

nums(5);
//=> [1, 2, 3, 4, 5]

nums(5, 10);
//=> [5, 6, 7, 8, 9, 10]

nums(3, -2);
//=> [3, 2, 1, 0, -1, -2]

License

Released under the MIT license.

About

1️⃣ 2️⃣ 3️⃣ nums(3, 6) => [3, 4, 5, 6]

Resources

Stars

Watchers

Forks

Packages

No packages published