node-range
An intelligible function for JavaScript that produces a range
Overview
The module can be used when you need a function that returns the range of some given numbers as arguments
Installing
npm i node-num-range --save-dev
Usage
Simply require the node-range
module. The export function can be used in any module you desire:
range(start, end, step)
const range = ; ; //==> [1,2,3,4,5,6,7,8,9,10]
TODO
- add more tests
Tests
npm test
Uses mocha and chai's expect
// need to add tests
Related Modules
Contributing
Feel free to file an issue or bug.