Skip to content

HTML-as-code in plain CoffeeScript / JavaScript

License

Notifications You must be signed in to change notification settings

dashkite/html-render

 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%