nl2br
nl2br - A NodeJS module for converting newlines to line breaks
Based on this answer in StackOverflow
Install
$ npm install nl2br
Example
var nl2br = ; // XHTML Way; // returns 'Base<br/>balls' // Non-XHTML Way; // returns 'Base<br>balls'