Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

just-range

2.1.0 • Public • Published

just-range

Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

Try it now

import range from 'just-range';
 
range(1, 5); // [1, 2, 3, 4]
range(5); // [0, 1, 2, 3, 4]
range(-5); // [0, -1, -2, -3, -4]
range(0, 20, 5) // [0, 5, 10, 15]

Install

npm i just-range

DownloadsWeekly Downloads

321

Version

2.1.0

License

MIT

Unpacked Size

2.8 kB

Total Files

4

Last publish

Collaborators

  • avatar