node.inflection icon indicating copy to clipboard operation
node.inflection copied to clipboard

feat: support CamelCase to kebab-case conversion

Open peroman86 opened this issue 6 years ago • 2 comments

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 avatar Jul 18 '18 12:07 peroman86

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

peroman86 avatar Sep 04 '18 07:09 peroman86

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

NullVoxPopuli avatar Apr 13 '23 14:04 NullVoxPopuli