squiggly-template
v1.0.3
Published
Simple dynamic string templates
Downloads
1
Maintainers
Readme
Squiggly
Simple dynamic string templates for JavaScript (written in TypeScript)
const Squiggly = require('squiggly-template');
let template = new Squiggly("This is a {adjective} module. It will be {adverb} useful!");
console.log(template.get({adjective:"cool",adverb:"super"}));
Installation
$ npm install squiggly-template --save