time-to-botec/js/node_modules/@stdlib/string/kebabcase/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

24 lines
394 B
Plaintext

{{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
--------