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).

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2

Package Sidebar

Install

npm i forkeys-compat

Weekly Downloads

1

Version

1.0.1

License

Unlicense

Last publish

Collaborators

  • jameskmonger