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

Wrong result with log4j word to camel case? #82

Closed
emmanuelsio opened this issue Jan 6, 2022 · 1 comment
Closed

Wrong result with log4j word to camel case? #82

emmanuelsio opened this issue Jan 6, 2022 · 1 comment

Comments

@emmanuelsio
Copy link

I have different words with log4j. The one of example is uses_log4j.

var camelcaseKeys = require("camelcase-keys")
camelcaseKeys({'uses_log4j': true}); 
//=> usesLog4J

The result of that word should be usesLog4j ? why is making capital letter after a number?

@sindresorhus
Copy link
Owner

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