Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behaviour with numbers #84

Closed
Ekhrapykin opened this issue Oct 11, 2021 · 1 comment
Closed

Incorrect behaviour with numbers #84

Ekhrapykin opened this issue Oct 11, 2021 · 1 comment

Comments

@Ekhrapykin
Copy link

Hello
My code received object from API and do not know its format.
Even I got already camecased object, it capitalises "C", but should not.
camelcaseKeys({"i2cTapSensor": "value"});
{ i2CTapSensor: 'value' }

As a workaround, added the key to exclusion:
{exclude: ["i2cTapSensor"]}

@sindresorhus sindresorhus transferred this issue from sindresorhus/camelcase-keys Oct 11, 2021
@sindresorhus
Copy link
Owner

Duplicate of #77

@sindresorhus sindresorhus marked this as a duplicate of #77 Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants