UNPKG

421 BMarkdownView Raw
1# for-each [![build status][1]][2]
2
3A better forEach.
4
5## Example
6
7Like `Array.prototype.forEach` but works on objects
8
9``` js
10var forEach = require("for-each")
11
12forEach({ key: "value" }, function (value, key) {
13 /* code */
14})
15```
16
17## Installation
18
19`npm install for-each`
20
21## Contributors
22
23 - Raynos
24
25## MIT Licenced
26
27 [1]: https://secure.travis-ci.org/Raynos/for-each.png
28 [2]: http://travis-ci.org/Raynos/for-each