0.0.2 • Published 8 years ago

node-num-range v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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 = require('node-num-range');

range(1,10); //==> [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.