1.0.10 • Published 5 years ago

@deebah/loop v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Loop is a simple npm module that lets you loop through an array.

Example Usage

const loop = require('@deebah/loop');

loop([1, 2, 3, 4], 1000, (arr, index) => {
  console.log(arr[index]);
});

Parameters:

  • Array, the array you want to loop through.
  • Speed you want to loop through the array, in milliseconds.
  • Callback, parameters are the array you passed and the index you are through the array.
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.0

5 years ago