A library for creating and applying templates using Handlebars.
Go to file
2018-09-14 10:12:37 +02:00
dist update to handlebars 2017-02-25 23:40:15 +01:00
test update to handlebars 2017-02-25 23:40:15 +01:00
ts update to handlebars 2017-02-25 23:40:15 +01:00
.gitignore initial 2016-11-20 17:41:26 +01:00
.gitlab-ci.yml update gitlab yml 2017-02-25 23:41:06 +01:00
package-lock.json update 2018-09-14 10:12:37 +02:00
package.json update 2018-09-14 10:12:37 +02:00
README.md update to handlebars 2017-02-25 23:40:15 +01:00
tslint.json initial 2016-11-20 12:35:46 +01:00
yarn.lock update to handlebars 2017-02-25 23:40:15 +01:00

tlt

templates done right

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

import { Tlt } from 'tlt'

let myTlt = new Tlt('my {{somePlaceholder}} are {{anotherPlaceholder}}!')
let appliedString = myTlt.applyData({
    "somePlaceholder": "horses",
    "anotherPlaceholder": "awesome"
})

// appliedString will be 'my horses are awesome!'

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer