eztl

0.2.0 • Public • Published

eztl – ez template language

npm-version build-status dependencies dev-dependencies

example

import eztl from 'eztl';
 
const input = 'Hello, {% location %}{% shout? %}!{% else %}.{% end %}';
const variables = { location: 'world', 'shout?': false };
const output = eztl(input, variables);
 
console.log(output); // "Hello, world."

Readme

Keywords

none

Package Sidebar

Install

npm i eztl

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • scott113341