Aparar a frase do NodeJS de espaços
newString = string.replace(/\s+/g,''); // "thiscontainsspaces"
Blue-eyed Bug
newString = string.replace(/\s+/g,''); // "thiscontainsspaces"