forkeys-compat

1.0.1 • Public • Published

forkeys-compat

A version of forkeys with compatibility for non-ES6.

Example

You can see an example here.

var forkeys = require('../index.js');
 
(function() {
    "use strict";
 
    var obj = {
        firstKey: 0,
        secondKey: "bla",
        final_key: "last one"
    };
 
    forkeys(obj, function (key) {
        console.log("forkeys: key: " + key + ", val: " + obj[key]);
    });
})();

License

Created by jameskmonger, licensed under The Unlicense (see LICENSE).

Readme

Keywords

none

Package Sidebar

Install

npm i forkeys-compat

Weekly Downloads

0

Version

1.0.1

License

Unlicense

Last publish

Collaborators

  • jameskmonger