serveHTML
Script
v2
Fork
1
2
3
4
5
import
{
html
}
from
"https://esm.town/v/beneskildsen/html"
;
export
const
serveHTML
=
(
req
,
res
:
express
.
Response
)
=>
{
res
.
send
(
html
(
"<b>hello</b> world"
)
)
;
}
;