title: Text to HTML conversion in Node Js
body: <p>I am using <a href="https://nodemailer.com/message/" rel="nofollow noreferrer">nodemailer</a> to send mail from node server. I am getting the content for this mail from MSSQL SQL server which is formatted in plain text format, which meansa there are new line characters in it, however when I send it using nodemailer the newline characters are missing and the whole text looks messed up. The other way is to insert html tags for line break in the plain text and send this works fine. But there is too much mannual work involved what I am looking is for a library or utility which can convert the plain text into the html which I can send using mail.</p>
  
  <p>Is there any liberary for this requirement or a way to do this automatically?</p>