@quenk/polate
v1.3.0
Published
Small function for interpolating variables into javascript strings.
Downloads
548
Maintainers
Readme
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.