Closed kilianc closed 6 years ago
You can already do this: camelcaseKeys(o, {exclude: ['foo']}))
exclude
Type: string[] RegExp[] Default: []
Exclude keys from being camelCased.
I meant excluding keys from the output object. Not just skipping the case change
I see, no that's outside the scope of this module.
This may be out of scope but I find myself doing
camelcaseKeys((omit(o, 'foo'))
a lot. Would this be considered out of scope?