@kit-js/html

0.0.5 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @kit-js/html

Weekly Downloads

7

Version

0.0.5

License

none

Unpacked Size

216 kB

Total Files

22

Last publish

Collaborators

  • risuki