Shims the iterator methods.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
every.js
filter.js
find.js
findIndex.js
forEach.js
index.js
map.js
package.json
reduce.js
reduceRight.js
some.js

README.md

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.