1.3.0 • Published 8 years ago

@quenk/polate v1.3.0

Weekly downloads
18
License
Apache-2.0
Repository
github
Last release
8 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

8 years ago

1.2.0

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago