silverwolf-x's picture
download
raw
144 Bytes
export const toKebabCase = (string): string =>
string
?.replace(/([a-z])([A-Z])/g, "$1-$2")
.replace(/\s+/g, "-")
.toLowerCase();

Xet Storage Details

Size:
144 Bytes
·
Xet hash:
a88626148c884c062afe7c6ec6f44e1a9ad813b426929191156c92d23c72b7ec

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.