map-keys-deep
🔑 Maps object keys recursively, like mapKeys
by Lodash but recursive.
Usage
Install
yarn add map-keys-deep
Simple sample usage
; ;// { hello: { world: true } }
FP style
;; hello_world: bye_world: true ;// { helloWorld: { byeWorld: true } } Hello: World: true ;// { hello: { world: true } }
Test
yarn jest
License
MIT