MCPcopy
hub / github.com/tinyhttp/tinyhttp / server.ts

File server.ts

site/server.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { App } from '@tinyhttp/app'
2import serve from 'sirv'
3import { markdownStaticHandler as md } from '@tinyhttp/markdown'
4import { logger } from '@tinyhttp/logger'

Callers

nothing calls this directly

Calls 10

loggerFunction · 0.90
formatMethod · 0.80
sendStatusMethod · 0.80
sendFileMethod · 0.80
listenMethod · 0.80
engineMethod · 0.80
jsonMethod · 0.80
getMethod · 0.65
renderMethod · 0.65
useMethod · 0.45

Tested by

no test coverage detected