0
GGGiovanny Gongora
Compacts whitespaces in a string.
0 Comments
const compactWhitespace = (str: string) => str.replace(/\s{2,}/g, ' ');