tf

1.0.1 • Public • Published

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

= require('tf')
 
T.div(
  class : 'barf'
  $body : T.h1(
    class : 'wow'
    $body : "BORF"
  )
)

results in

<div class="barf"><h1 class="wow">BORF</h1></div>

Readme

Keywords

Package Sidebar

Install

npm i tf

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • stephenhandley