iter-shims

0.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i iter-shims

Weekly Downloads

5

Version

0.1.1

License

none

Last publish

Collaborators

  • ralt