const filter = function(value) { return value.replace(/\s{2,}/g, ' ') } module.exports = filter