open-index/open-npm huggingface dataset:
npm package: @sheetbase/ejs-server
Description: Ejs for Google apps script.
Author: Matthew Eernisse
Latest version: 2.6.0-4
Deprecated: please use the official package

# Sheetbase Module: @sheetbase/ejs-server

Ejs for Google apps script.

<!-- <block:header> -->

[![License][license_badge]][license_url] [![clasp][clasp_badge]][clasp_url] [![Support me on Patreon][patreon_badge]][patreon_url] [![PayPal][paypal_donate_badge]][paypal_donate_url] [![Ask me anything][ask_me_badge]][ask_me_url]

<!-- </block:header> -->

## 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](https://script.google.com/d/1_mTEblCaR8CC6epwaMoz8rk-wep3k8TDfWFLBtefvOwke2tH7pZlr4YT/edit?usp=sharing).

## Examples

```ts
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](https://github.com/sheetbase/module-ejs-server/blob/master/LICENSE) license.

<!-- <block:footer> -->

[license_badge]: https://img.shields.io/hexpm/l/plug.svg
[license_url]: https://github.com/sheetbase/module-ejs-server/blob/master/LICENSE
[clasp_badge]: https://img.shields.io/badge/built%20with-clasp-4285f4.svg
[clasp_url]: https://github.com/google/clasp
[patreon_badge]: https://ionicabizau.github.io/badges/patreon.svg
[patreon_url]: https://www.patreon.com/lamnhan
[paypal_donate_badge]: https://ionicabizau.github.io/badges/paypal_donate.svg
[paypal_donate_url]: https://www.paypal.me/lamnhan
[ask_me_badge]: https://img.shields.io/badge/ask/me-anything-1abc9c.svg
[ask_me_url]: https://m.me/sheetbase

<!-- </block:footer> -->