iter-shims

Shims the iterator methods

npm install iter-shims
4 downloads in the last week
9 downloads in the last month

iter-shims

Shims the iterator methods. Bonus: it works on NodeLists.

Installation

npm install iter-shims

API

var forEach = require('iter-shims').forEach;
// or
var forEach = require('iter-shims/forEach');

forEach(arr, fn);

List of methods: forEach, map, filter, every, some, find and findIndex.

Contributors

License

MIT License.

npm loves you