Skip to content

ahadb/node-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An intelligible function for JavaScript that produces a range

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors