Package Exports
- map-values-deep
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (map-values-deep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
map-values-deep
Recursive lodash.mapKeys
Install
$ npm install lodash map-values-deep --save
Usage
const mapValuesDeep = require('map-values-deep')
const square = (value, key) => value * value
mapValuesDeep({ two: 2, obj: { three: 3, four: 4 }, arr: [5, 6] }, square)
// => { two: 4, obj: { three: 9, four: 16 }, arr: [25, 36] }
License
map-values-deep © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats