1.0.5 • Published 3 years ago

smartrange v1.0.5

Weekly downloads
-
License
Unlicense
Repository
-
Last release
3 years ago

SmartRange

SmartRange returns an array of numbers within a given range.

Usage

From NPM

const range = require("smartrange");

From a local file (GitHub)

const range = require("./index.js");
const start = 10; // Start number (inclusive)
const end = 1000 // End number (inclusive)
const myRange = range.createNewRange(start, end);
console.log(myRange);
// Expected: [10, 11, 12, ..., 998, 999, 1000]

Changelog

1.0.5 - Added function support, removed class support, modified README 1.0.4 - Minor README changes 1.0.3 - Minor README changes 1.0.2 - Removed 65536 limit, added changelog to README, announced function support 1.0.1 - Minor README changes 1.0.0 - Initial release

1.0.2

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago