range-exclusive
Generate a closed range of numbers `[a, b)` with step size `d`
Last updated 2 years ago by emilbayes .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install range-exclusive 
SYNC missed versions from official npm registry.

range-exclusive Build Status

Generate a closed range of numbers [a, b) with step size d

Installation

npm install range-exclusive

Usage

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]

Related

License

ISC

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |