estlif
template engine based on ECMAscript template literals
Usage
import estlif from 'estlif';
// render template from file into string variable
const renderedTemplate = estlif(`${__dirname()}/path/to/template.estlif`, { data: 'hello world' });
template engine based on ECMAscript template literals
import estlif from 'estlif';
// render template from file into string variable
const renderedTemplate = estlif(`${__dirname()}/path/to/template.estlif`, { data: 'hello world' });
npm i estlif
4
2.0.0
ISC
3.63 kB
11