1.0.4 • Published 8 years ago

smartpug v1.0.4

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
8 years ago

smartpug

handle pug easily and mesh it with data

Availabililty

npm git git docs

Status for master

build status coverage report Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

pug (previously known as jade, renamed to pug due to trademark issues) allows easy server side html creation

testSmartpug = new smartpug.Smartpug({
    filePath: './test/test.pug'
})
let resultHtml = testSmartpug.getHtmlForData({testValue: 'Hello'})
console.log(resultHtml) // will lof the resulting html string

npm

1.0.4

8 years ago

1.0.3

8 years ago

1.0.0

8 years ago