0.0.5 • Published 6 years ago

@kit-js/html v0.0.5

Weekly downloads
1
License
-
Repository
-
Last release
6 years ago

Kit html

A small sibilant lisp macro library I wrote for the fun of it.

It isn't on npm yet, so add the git url to your `package.json' dependencies.

Examples

(include "kit/header")
(import-namespace kit)

(include "kit-html/header")
(import-namespace markup)

(require! 'express)

(var app (express));; or what ever you fancy

(var hello (markup (.div .id "hello-container" "hi there!")))

(.get app "/hello" (=> (req res) (with-markup-to-stream (.html (.body hello)))))

(.listen app 8080)