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

feat: support CamelCase to kebab-case conversion #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peroman86
Copy link

@peroman86 peroman86 commented Jul 18, 2018

Searched for CamelCase to dash-case and didn't find it, so I added this ability to this repo.

Before:
inflection.transform( 'AllJobs', [ 'underscore', 'dasherize' ]); // === 'all-jobs'

Now:
inflection.kebabize('AllJobs'); // === all-jobs

@peroman86
Copy link
Author

@ben-lin hi,
does anyone maintain this repo?

@p-kuen p-kuen changed the title CamelCast to kebab-case feat: support CamelCase to kebab-case conversion Apr 14, 2021
@NullVoxPopuli
Copy link

maybe change-case will be more sufficient? https://runkit.com/nullvoxpopuli/64381760e1828400085cfffc

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.

None yet

2 participants