Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 489 Bytes

kebabCase.md

File metadata and controls

32 lines (20 loc) · 489 Bytes

strings.kebabCase

kebabCase([string])

kebabCase updates a string to kebabcase

Arguments

  1. [string] (string): input string

Returns

(string): returns new kebabCase string

Example

const result = strings.kebabCase('css classes use kebab case');
console.log(result);
> 'css-classes-use-kebab-case'