2.0.0 • Published 7 years ago
map-keys v2.0.0
map-keys
Map object keys returning a new object
Example
var map = require("map-keys");
map({ foo: 2 }, function(val, key, obj) {
return key + "bar";
});
// -> { foobar: 2 }
Installation
npm install map-keys