tf
v1.0.1
Published
Simple functions for creating html tags
Downloads
30
Readme
tf
Description
Simple functions for creating html tags
Latest Version
1.0.0
Installation
npm install tf --save
or in package.json
{
...
"dependencies": {
"tf": "~1.0.0"
}
}
Usage
T = require('tf')
T.div(
class : 'barf'
$body : T.h1(
class : 'wow'
$body : "BORF"
)
)
results in
<div class="barf"><h1 class="wow">BORF</h1></div>