smartmustache/README.md
2016-11-20 17:41:26 +01:00

348 B

tlt

templates done right

Usage

We recommend the use of TypeScript for best in class Intellisense

import { Tlt } from 'tlt'

let myTlt = new Tlt('my template String for {{somePlaceholder}} and {{anotherPlaceholder}}')
myTlt.getStringFor({
    "somePlaceholder": "pushrocks",
    "anotherPlaceholder": "anotherPlaceholder"
})