What is the "E" for? "Embedded?" Could be. How about "Effective," "Elegant," or just "Easy"? EJS is a simple templating language that lets you generate HTML markup with plain JavaScript. No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript.
HTML to PDF converter that uses phantomjs
This sample application uses Express framework with the combination of EJS (templating engine). We are then inputting the template file to html-pdf node-package converting it to the PDF file.