just-map
Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.
; // returns a new object with the predicate applied to each value; // {a: 4, b: 6, c: 10}; // {a: 0, b: 1, c: 2}; // {a: true, b: true, c: false}; // {a: 5, b: 9, c: undefined}