# @f/foreach-obj

> Iterate over an object

Latest version **1.1.1** (published 2016-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @f/foreach-obj
pnpm add @f/foreach-obj
yarn add @f/foreach-obj
bun add @f/foreach-obj
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2016-04-04 |
| First published | 2016-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

- npm: https://www.npmjs.com/package/@f/foreach-obj
- Repository: https://github.com/micro-js/foreach-obj
- Homepage: https://github.com/micro-js/foreach-obj#readme
- Issues: https://github.com/micro-js/foreach-obj/issues
- npm.io page: https://npm.io/package/@f/foreach-obj

## Recent versions

- 1.1.1 (latest) — 2016-04-04
- 1.0.1 — 2016-01-07
- 1.0.0 — 2016-01-07

## README

# foreach-obj

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Iterate over an object.

## Installation

    $ npm install @f/foreach-obj

## Usage

```js
var forEach = require('@f/foreach-obj')

forEach(function (value, key, index) {
  // do something
}, { a: 1, b: 2 })
```

## API

### forEach(fn, obj)

  * `fn(value, key, index)` - Function you want to call for each element of the object. Called with the same context as forEach.
  * obj - The object you want to iterate over

**Returns:** void

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/foreach-obj.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/foreach-obj
[git-image]: https://img.shields.io/github/tag/micro-js/foreach-obj.svg?style=flat-square
[git-url]: https://github.com/micro-js/foreach-obj
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/foreach-obj.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/foreach-obj

---
_Source: https://npm.io/package/@f/foreach-obj · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
