map-values-deep-lodash
v1.0.2
Published
Map/rename object values recursively with Lodash as the only dependency.
Downloads
123
Maintainers
Readme
map-keys-deep-lodash
Map JS object values recursively.
Install
Install with npm
$ npm i map-values-deep-lodash --save
Usage
const mapValuesDeep = require("map-values-deep-lodash");
mapValuesDeep({a: 1, b: 2, c: {d: 3, e: 4}}, value => (2 * value));
// -> {a: 2, b: 4, c: {d: 6, e: 8}}
Dependencies
Author
License
Released under the MIT license.