Skip to content
A stripped down, minimalist kebab-case parser, for programatic usage
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json
test.js

README.md

@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 :)

You can’t perform that action at this time.