EJS
EMBEDDED JAVASCRIPT TEMPLATING
EJS is a simple templating language that lets you generate HTML markup with plain JavaScript.
How to Install?
npm install ejs
Options
viewsAn array of paths to use when resolving includes with relative paths.contextfunction execution contextclientreturns standalone compiled functiondebugoutputs generated function bodystrictwhen set to true generated functions is in strict mode
Tags
<%scriptlet tag, for control flow, no out put<%_white space slurping,strips all white space before it<%=outputs the value into the template<%-outputs the unescaped value in the template<%#comment tag, no output<%%output is litteral%>plain ending tag-%>trim-mode tag-
_%>removes all whitespace after it - Reference