for-each

A better forEach

for-each

A better forEach.

Like Array.prototype.forEach but works on objects

var forEach = require("for-each")
 
forEach({ key: "value" }, function (valuekey) {
    /* code */
})

npm install for-each

  • Raynos