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

Added optional locale option. #74

Closed
wants to merge 2 commits into from

Conversation

selimrecep
Copy link

I have added optional 'locale' option to options. Probably gonna fix #72

console.log(camelCase('run-in-band', {locale: 'en-US'}))
console.log(camelCase('run-in-band'))

-> runInBand
-> runİnBand

I have added optional 'locale' option to `options`
Added a test to test 'locale' option
@sindresorhus
Copy link
Owner

Thanks for the PR. I'm however going to go with #75 as it's more complete and also includes docs.

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

Successfully merging this pull request may close these issues.

Case conversion with specific locale
2 participants