Simple ranger creator.
ranger(start, stop [,step])
Creates an array with numeric values from start (inclusive) to stop (exclusive) through step (default 1).
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]
Fork, edit and send a pull-request.
Test made with TAPE.
Continuous integration courtesy of Travis CI.