A library for creating and applying templates using Handlebars.
Go to file
2019-02-17 16:56:18 +01:00
test fix(structure): fix internal naming 2018-09-15 12:43:01 +02:00
ts fix(structure): fix internal naming 2018-09-15 12:43:01 +02:00
.gitignore initial 2016-11-20 17:41:26 +01:00
.gitlab-ci.yml Master 2018-09-14 21:02:17 +00:00
.snyk fix(security): add snyk 2019-02-17 16:56:18 +01:00
npmextra.json Master 2018-09-14 21:02:17 +00:00
package-lock.json 2.0.6 2019-02-17 16:56:18 +01:00
package.json 2.0.6 2019-02-17 16:56:18 +01: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

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