0.3.2 • Published 7 years ago

backtick v0.3.2

Weekly downloads
17
License
MIT
Repository
github
Last release
7 years ago

Build Status codecov

backtick

template literal based template engine.

Install

$ npm install backtick

Usage

// template.txt
Fifteen is ${a + b} and
not ${2 * a + b}.

or

`Fifteen is ${a + b} and
not ${2 * a + b}.`
// example
const backtick = require('backtick');

backtick(`template.txt`, 'dist', {
  a: 5,
  b: 10
});
// dist/template.txt
Fifteen is 15 and
not 20.

License

MIT © mkwtys

0.3.2

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago