string-trim-spaces-only

Like String.trim() but you can choose granularly what to trim

Browse on unpkg