pupa
pupa copied to clipboard
Simple micro templating
Hi! Thanks for providing a useful lib! 👍 I discovered today that it seems as if names which contains Swedish letters `åäö` does not work. This is unfortunate, and I...
Hi guys, Sometimes, my data is an object that includes a `dot` character. ```js pupa('The mobile number of {name} is {phone\.mobile}', { name: 'Sindre', "phone.mobile": "609 24 363" }); ```...
Many templating languages support filtering individual interpolated values: ```js "Hello, {name | capitalize}!" //=> with {name: "john doe"} => "Hello, John Doe!" ``` `pupa` supports transforming all values, but not...