MCPcopy
hub / github.com/tinyhttp/tinyhttp / render

Method render

packages/app/src/response.ts:41–41  ·  view source on GitHub ↗
(file: string, data?: Record<string, any>, options?: TemplateEngineOptions<O>)

Source from the content-addressed store, hash-verified

39 location(url: string): Response
40 links(links: { [key: string]: string }): Response
41 render(file: string, data?: Record<string, any>, options?: TemplateEngineOptions<O>): Response
42 vary(field: string): Response
43 format(obj: FormatProps): Response
44 redirect(url: string, status?: number): Response

Callers 8

renderTemplateFunction · 0.65
index.jsFile · 0.65
index.jsFile · 0.65
index.tsFile · 0.65
server.jsFile · 0.65
server.tsFile · 0.65
app.test.tsFile · 0.65
pug.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected