Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML Render

HTML-as-code in plain CoffeeScript (or JavaScript, of course). Based on the excellent diffHTML library behind the scenes.

import {HTML} from "../src/index"
{render, html, body, h1} = HTML

assert.equal "<html><body><h1>Hello, World!</h1></body></html>",
  render html [
    body [
      h1 "Hello, World!"
    ]
  ]

Installation

npm i @dashkite/html-render

About

HTML-as-code in plain CoffeeScript / JavaScript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages