map-values
v1.0.1
Published
Map object values returning a new object
Downloads
729,338
Readme
map-values
Map object values returning a new object.
Example
var map = require("map-values");
map({ foo: 2 }, function(val, key, obj) {
return val * 2;
});
// -> { foo: 4 }
Installation
npm install map-values