object-each

1.0.0 • Public • Published

object-each

install

npm install object-each

usage

each(obj, fn)

Example:

import each from 'object-each';
 
each({ a: 'x', b: 'y', c: 'z' }, (value, key, obj) => {
  console.log(key, value);
});
 
// output:
// a x
// b y
// c z

license MIT

Readme

Keywords

Package Sidebar

Install

npm i object-each

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stagas