smartmustache/README.md

15 lines
348 B
Markdown
Raw Normal View History

2016-11-20 11:35:46 +00:00
# tlt
templates done right
## Usage
We recommend the use of TypeScript for best in class Intellisense
```javascript
2016-11-20 16:41:26 +00:00
import { Tlt } from 'tlt'
2016-11-20 11:35:46 +00:00
2016-11-20 16:41:26 +00:00
let myTlt = new Tlt('my template String for {{somePlaceholder}} and {{anotherPlaceholder}}')
2016-11-20 11:35:46 +00:00
myTlt.getStringFor({
"somePlaceholder": "pushrocks",
"anotherPlaceholder": "anotherPlaceholder"
})
```