0.2.0 • Published 8 years ago
eztl v0.2.0
eztl – ez template language
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."