ejs
ejs copied to clipboard
Allow option for output with Windows CR/LF instead of UNIX line endings
I use ejs for code and data generation using an Express app. The data (e.g. a CSV file) needs to have DOS newlines to be understood by the tools I am using.
However, even if I save the templates with DOS endings, the ouptut is with UNIX line endings. Could there be an option to output DOS CR/LF endings?