Skip to content

conversion-library / changeCase / kebabCase

Function: kebabCase()

ts
function kebabCase(input: string, options?: Options): string

Convert a string to kebab case (foo-bar).

Parameters

input: string

options?: Options

Returns

string

Defined in

node_modules/change-case/dist/index.d.ts:63