MCPcopy Index your code
hub / github.com/tinyhttp/tinyhttp / index.js

File index.js

examples/hyperapp-ssr/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { App } from '@tinyhttp/app'
2import { h, text } from 'hyperapp'
3import { readFile } from 'fs/promises'
4import { renderToString } from 'hyperapp-render'

Callers

nothing calls this directly

Calls 5

listenMethod · 0.80
sendFileMethod · 0.80
sendMethod · 0.80
viewFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected