1.3.0 • Published 6 years ago

@quenk/polate v1.3.0

Weekly downloads
18
License
Apache-2.0
Repository
github
Last release
6 years ago

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.

1.3.0

6 years ago

1.2.0

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago