Oneliner
Converts a string that contains line feed characters into one that doesn't.
Installation
npm install oneliner
Usage
var oneliner = ; var template = " <html>\n\n<head>\n </head>\n<body>...</body>\n</html>\n\n "; ;
And the output will be:
"<html><head> </head><body>...</body></html>"