November: Procrastination Month
    Have ideas to improve npm?Join in the discussion! »

    map-values

    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
    

    Install

    npm i map-values

    DownloadsWeekly Downloads

    74,470

    Version

    1.0.1

    License

    Public Domain

    Last publish

    Collaborators

    • avatar