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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i map-values

    Weekly Downloads

    249,679

    Version

    1.0.1

    License

    Public Domain

    Last publish

    Collaborators

    • parshap