Need private packages and team management tools?Check out npm Orgs. »

map-values-deep

1.0.2 • Public • Published

map-values-deep

Last version Build Status NPM Status

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

Install

npm i map-values-deep

DownloadsWeekly Downloads

7,220

Version

1.0.2

License

MIT

Unpacked Size

6.93 kB

Total Files

5

Last publish

Collaborators

  • avatar