README
smartpug
handle pug easily and mesh it with data
Availabililty
Status for master
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