violetWarbler
HTTP (deprecated)
v32
Preview
1
2
3
4
5
6
import
Koa
from
"npm:koa"
;
const
app
=
new
Koa
(
)
;
app
.
use
(
(
ctx
:
Koa
.
Context
)
=>
{
ctx
.
body
=
"Hello, Koa!"
;
}
)
;
app
.
listen
(
3000
)
;
Preview