1.1.2 • Published 4 years ago
@ivanhanak_com/array-range v1.1.2
array-range
A very lightweight library to create an array range.
This library is a bit larger in file size because supports IE11. If you don't need to support this browser, check out the superlightweight array-range-es6 for modern browsers only (e.g. Safari 13+, EDGE 13+).
You can find it here here.
Changelog
See the whole Changelog.
Install
Using npm:
npm install @ivanhanak_com/array-range
Using yarn:
yarn add @ivanhanak_com/array-range
Import
import range from '@ivanhanak_com/array-range';
Usage
const rangeItems = range(5); //creates [0,1,2,3,4]
Browser support
IE11+