1.0.4 • Published 4 years ago
@salemove/transform-object v1.0.4
@salemove/transform-object
Usage
See code documentation and tests
Example:
import {camelizeAllKeysDeep} from '@glia/transform-object';
const payload = {my_foo: 'bar'};
const camelizedPayload = camelizeAllKeysDeep(payload)
// camelizedPayload equals to {myFoo: 'bar'}