Appearance
将字符串转换为短横线命名法
from usepy import kebab_case
string
>>> kebab_case('camelCase') 'camel-case' >>> kebab_case('some whitespace') 'some-whitespace' >>> kebab_case('hyphen-text') 'hyphen-text' >>> kebab_case('HTTPRequest') 'http-request'