NPM Smell 🍑💨

trivial and outdated NPM packages

array-each outdated npm logo

Reimplements the native Array.prototype.forEach() method.

Weekly Downloads
2,774,546
Dependencies
0
Latest Release
8 years ago
This dependency re-creates a native JavaScript API. It is recommended to use the native API instead
Outdated
natively supported
since 11 years (chrome, firefox, safari, nodejs)

About

This dependency reimplents the native Array.prototype.forEach() method. It is supported by all modern browsers and Node.js versions since about 11 years.

// Loop over all elements in an array
const arr = [1, 2, 3, 4, 5];
arr.forEach(element => console.log(element));
// 1
// 2
// 3
// 4
// 5