Generate a closed range of numbers
[a, b)
with step sized
npm install range-exclusive
var rangeExclusive = require('range-exclusive')
rangeExclusive(10) // [1, 2, 3, 4, 5, 6, 7, 8, 9]
rangeExclusive(3, 9, 3) // [3, 6]
rangeExclusive(7, 5, -1) // [7, 6]