A library for creating and applying templates using Handlebars.
Go to file
2016-11-20 17:54:13 +01:00
dist initial 2016-11-20 17:41:26 +01:00
test initial 2016-11-20 17:41:26 +01:00
ts initial 2016-11-20 17:41:26 +01:00
.gitignore initial 2016-11-20 17:41:26 +01:00
.gitlab-ci.yml initial 2016-11-20 12:35:46 +01:00
package.json 1.0.3 2016-11-20 17:45:12 +01:00
README.md improve README 2016-11-20 17:54:13 +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 Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

We recommend the use of TypeScript for best in class Intellisense

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!'

npm