Skip to content

egoist/4each

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

forEach but for everything

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published