# for-each-key

> call a function with key and value for each object property

Latest version **2.0.0** (published 2019-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install for-each-key
pnpm add for-each-key
yarn add for-each-key
bun add for-each-key
```

## 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 | 2.0.0 |
| Published | 2019-12-21 |
| First published | 2018-04-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | for, each, key |

## Links

- npm: https://www.npmjs.com/package/for-each-key
- Repository: https://github.com/coderaiser/for-each-key
- Issues: https://github.com/coderaiser/for-each-key/issues
- npm.io page: https://npm.io/package/for-each-key

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2019-12-21
- 1.0.1 — 2018-04-12
- 1.0.0 — 2018-04-04

## README

# for-each-key [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage][CoverageIMGURL]][CoverageURL]

Call a function with key and value for each object property.

## Install

```
npm i for-each-key --save
```

## How to use?

```js
const forEachKey = require('for-each-key');

forEachKey(console.log, {
    hello: 'world'
});
// output
'hello world'
```

## License

MIT

[NPMIMGURL]:                https://img.shields.io/npm/v/for-each-key.svg?style=flat
[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/for-each-key/master.svg?style=flat
[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/for-each-key.svg?style=flat
[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]:                   https://npmjs.org/package/for-each-key "npm"
[BuildStatusURL]:           https://travis-ci.org/coderaiser/for-each-key  "Build Status"
[DependencyStatusURL]:      https://david-dm.org/coderaiser/for-each-key "Dependency Status"
[LicenseURL]:               https://tldrlegal.com/license/mit-license "MIT License"

[CoverageURL]:              https://coveralls.io/github/coderaiser/for-each-key?branch=master
[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/for-each-key/badge.svg?branch=master&service=github

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