lib/utility/string.js
function snakeToKebab( string ) {
	return string.replace( ptnSnake, ( all, predecessor, match ) => predecessor + "-" + match );
}
function snakeToKebab( string ) {
	return string.replace( ptnSnake, ( all, predecessor, match ) => predecessor + "-" + match );
}
function snakeToKebab ( string ) { return string . replace ( ptnSnake , ( all , predecessor , match ) => predecessor + "-" + match ) ; }
Converts string from snake_case to kebab-case.

@param {string} string string to convert
@returns {string} converted string
Converts string from snake_case to kebab - case .