@kikobeats/map-keys-deep
Recursive lodash.mapKeys
Install
$ npm install lodash @kikobeats/map-keys-deep --save
Usage
const mapKeysDeep = require('@kikobeats/map-keys-deep')
mapKeysDeep({ Hello: { World: true } }, (value, key) => key.toLowerCase())
// => { hello: { world: true } }
License
map-keys-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