1.3.0 • Published 6 years ago
@quenk/polate v1.3.0
Polate
"Small function for interpolating variables into javascript strings.",
Installation
npm install --save polate
Usage
var polate = require('polate');
var result = polate('My name is {{name}}', {name:'My Name'}, {start:'{{', end:'}}'});
The third argument is an optional options object, if omitted, the start and end markers
default to {
and }
respectively.