UNPKG

416 BMarkdownView Raw
1# Huncwot + Marko
2
3See the [marko-huncwot](https://github.com/zaiste/marko-huncwot) sample
4project for a working example.
5
6## Installation
7
8 yarn add huncwot marko
9
10## Usage
11
12```javascript
13require("marko/node-require");
14
15const Huncwot = require("huncwot");
16
17const app = new Huncwot();
18const template = require("./index.marko");
19
20app.get("/", request => template.stream({ name: "Frank" }));
21
22app.listen(3000);
23```