transform-keys
Recursively transform object keys with a custom key transform strategy
Example
Alternative 1
var transform = ; var snake = a_snake_cased_key: foo_bar_baz: "qux" null_value: null numbers: 1 2 3 4 ; var transformed = ; assert
Create custom key transformers
var transform = ; var camelify = ; var snakeify = ; var snake = a_snake_cased_key: foo_bar_baz: "qux" null_value: null numbers: 1 2 3 4 ; var camel = aSnakeCasedKey: fooBarBaz: "qux" nullValue: null numbers: 1 2 3 4 ; assert;assert;