tempt
Simplified templating inspired by Mustache:
tempt(template, data);
Note: Only the variable tag type is supported. For templating with greater features, check out:
Installation
NPM:
$ npm install tempt --save
Yarn:
$ yarn add tempt
Usage
Import the module:
var tempt = ;
Render template with data object:
;// => 'Hello, world!'
Render template with data array:
;// => 'Hello, world!'
Testing
$ npm test$ npm run lint:fix
Release
$ npm run release$ git push --follow-tags