time-to-botec/js/node_modules/@stdlib/string/kebabcase/docs/repl.txt

24 lines
394 B
Plaintext
Raw Normal View History

{{alias}}( str )
Converts a string to kebab case.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
Kebab-cased string.
Examples
--------
> var out = {{alias}}( 'Hello World!' )
'hello-world'
> out = {{alias}}( 'I am a tiny little teapot' )
'i-am-a-tiny-little-teapot'
See Also
--------