mdox.js
function (tmplPath) {
  var text = fs.readFileSync(tmplPath)
    .toString()
    .replace(/^\s*|\s*$/g, "");

  return ejs.compile(text);
}
function (tmplPath) {
  var text = fs.readFileSync(tmplPath)
    .toString()
    .replace(/^\s*|\s*$/g, "");

  return ejs.compile(text);
}
function ( tmplPath ) { var text = fs . readFileSync ( tmplPath ) . toString ( ) . replace ( / ^\s*|\s*$ / g , "" ) ; return ejs . compile ( text ) ; }
Read and process a single template.
Read and process a single template .