# object-deep-iteration

> "Iterates over a object of elements, yielding each in turn to an iteratee function. Iterates is a deep dive into object."

Latest version **1.0.0** (published 2018-07-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install object-deep-iteration
pnpm add object-deep-iteration
yarn add object-deep-iteration
bun add object-deep-iteration
```

## 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.0.0 |
| Published | 2018-07-10 |
| First published | 2018-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | nlapshin |
| Maintainers | nlapshin |

## Links

- npm: https://www.npmjs.com/package/object-deep-iteration
- Repository: https://github.com/nlapshin/object-deep-iteration
- Homepage: https://github.com/nlapshin/object-deep-iteration#readme
- Issues: https://github.com/nlapshin/object-deep-iteration/issues
- npm.io page: https://npm.io/package/object-deep-iteration

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.10

## Recent versions

- 1.0.0 (latest) — 2018-07-10

## README

# object-deep-iteration

Iterates over a object of elements, yielding each in turn to an iteratee function. Iterates is a deep dive into object.

The iteratee is bound to the context object, if one is passed. Each invocation of iteratee is called with three arguments: (element, path, obj).

```js
Example:

let obj = {
	name: "test",
	flags: {
		checked: true
	}
};

let output = [];

let iteration = function(value, path) {
	output.push({ path: path, value: value });	
};

objectDeepIteration(obj, iteration);

console.log(output);

Result:
[
	{ path: "name", value: "test" },
	{ path: "flags", value: { checked: true } },
	{ path: "flags.checked", value: true }
]
```

---
_Source: https://npm.io/package/object-deep-iteration · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
