Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

@freddieridell/kebab-case

A stripped down, minimal kebab-case parser, to deal with 90% of programmatic conversion usage

Usage

import keb from "@freddieridell/kebab-case"
console.log(keb("foo Bar Baz"));

This is a small utility designed for converting strings to kebab. It is designed for programmatic usage, like re-shaping APIs from camelCase to kebab-case. It is not designed for handling user input, please use a more featureful library like lodash.kebabcase for that much more challenging problem :)

About

A stripped down, minimalist kebab-case parser, for programatic usage

Resources

License

Stars

Watchers

Forks

Packages

No packages published