1.1.2 • Published 4 years ago

@ivanhanak_com/array-range v1.1.2

Weekly downloads
-
License
https://www.imdb....
Repository
github
Last release
4 years ago

array-range

npm.io NPM Weekly Downloads

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+

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago