Skip to content

@purista/core v2.0.5


PURISTA API / @purista/core / convertToKebabCase

Function: convertToKebabCase()

convertToKebabCase(str): string

Defined in: packages/core/src/helper/string/convertToKebabCase.impl.ts:9

Converts a string into kebab-case

Parameters

str

string

string

Returns

string

string converted to kebab-case

https://github.com/30-seconds/30-seconds-of-code