Ejs-2.7.4.tgz: 2 Vulnerabilities (highest Severity Is: 9.8) [main]
Ejs is a simple templating language that lets you generate html markup with plain javascript. May 1, 2024type string | object type definitions clientfunction (localsopt, escapeopt, includeopt, rethrowopt) → string|promise.} this type of function is returned from module template ejs template * @param {object}.
When this is set, absolute paths for includes * (/filename.ejs) will be relative to the template root (s). /** * this type of function is returned from @link module, when * {@link options}.client is false. This is implemented by the lru-cache module on npm, so you can simply do ejs.cache = lru(10) to get a least-recently-used cache.