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