Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

range-exclusive

1.0.1 • Public • Published

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

install

npm i range-exclusive

Downloadsweekly downloads

60

version

1.0.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar