Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
/ nexxa-ranger Public archive

⚠️ this project is not longer maintained - Simple ranger creator

License

Notifications You must be signed in to change notification settings

Nexxa/nexxa-ranger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nexxa-ranger Build Status

Simple ranger creator.

Signature

ranger(start, stop [,step])

Creates an array with numeric values from start (inclusive) to stop (exclusive) through step (default 1).

Use

var ranger = require('nexxa-ranger');

console.log(ranger(0, 9));
// -> [0, 1, 2, 3, 4, 5, 6, 7, 8]

console.log(ranger(0, 9, 2));
// -> [0, 2, 4, 6, 8]

Contribution

Fork, edit and send a pull-request.

Test made with TAPE.

Continuous integration courtesy of Travis CI.

About

⚠️ this project is not longer maintained - Simple ranger creator

Resources

License

Stars

Watchers

Forks

Packages

No packages published