newline-remove
!NPM versionnpm-imagenpm-url
!build statustravis-imagetravis-url
!Test coveragecoveralls-imagecoveralls-url
!Downloadsdownloads-imagedownloads-urlStrip all newlines from the given string. Supports linux, osx and windows line endings.
Installation
$ npm i --save newline-remove
Overview
var removeNewline = require('newline-remove');
removeNewline('foo\n bar\n');
// => 'foo bar'