smartpug
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i smartpug

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • lossless