Skip to main content
Module

x/dejs/example/basic.ts

ejs template engine for deno.
Extremely Popular
Go to Latest
File
const { cwd, stdout, copy } = Deno;import { renderFile } from '../dejs.ts';
(async () => { const output = await renderFile(`${cwd()}/basic.ejs`, { name: 'world', }); await copy(stdout, output);})();