augurymetal.com/lib/utils/kebabCase.ts
2022-05-21 17:27:30 -07:00

5 lines
110 B
TypeScript

import { slug } from 'github-slugger'
const kebabCase = (str: string) => slug(str)
export default kebabCase