map-values
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/map-values package

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i map-values

Weekly Downloads

438,138

Version

1.0.1

License

Public Domain

Last publish

Collaborators

  • parshap