Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

4each

forEach but for everything


Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created

4each NPM version NPM downloads Build Status

forEach but for everything

Install

$ npm install --save 4each

Usage

const each = require('4each')

// Array
each([1, 2, 3], (value, index) => {})
// Dom NodeList
each(document.querySelectorAll('div'), (element, index) => {})
// Plain Object
each({foo: 0, bar: 1}, (value, key) => {})

License

MIT © EGOIST

FAQs

Package last updated on 04 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts