0.0.7 • Published 1 year ago

@robixxu/range v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

range

Javascript version of Python range

Install

npm install @robixxu/range
Add to your project
const range = require('@robixxu/range');
import range from '@robixxu/range';

Usage

range(stop)
range(start, stop, [step])

Examples

range(5)      // [0,1,2,3,4]
range(1,5)    // [1,2,3,4]
range(0)      // []
range(-5,0)   // [-5, -4, -3, -2, -1]
range(1,5,2)  // [1,3]

Support

If you find any problems feel free to tweet @robiXxu, email at schiriac.robert@gmail.com or open a issue on Github.

MIT License

0.0.7

1 year ago

0.0.5

2 years ago

0.0.6

2 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

5 years ago