README
Sheetbase Module: @sheetbase/ejs-server
Ejs for Google apps script.
Install
Using npm:
npm install --save @sheetbase/ejs-server
As a library:
1_mTEblCaR8CC6epwaMoz8rk-wep3k8TDfWFLBtefvOwke2tH7pZlr4YT
Set the Indentifier to Ejs and select the lastest version, view code.
Examples
function example1(): void {
const source: string = "<h1>Hello <%= name %>!</h1>";
const data = { name: "world" };
let html: string = Ejs.render(source, data);
Logger.log(html);
}
Documentation
Homepage: https://github.com/mde/ejs
License
@sheetbase/ejs-server is released under the Apache-2.0 license.