for-object

1.0.0 • Public • Published

for-object

a simple way to iterate through a plain js object


Build StatusCoverage StatusISC LicenseNodeJS

JavaScript Style Guide

api

const forObject = require('for-object)

example

forObject({ foo: 'bar', bar: 'foo' }, (value, key, index) => {
  // value
  // key
  // index
})

ISC License (ISC)

Package Sidebar

Install

npm i for-object

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • quim