Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/renderer/mod.ts>Content

Alosaur - Deno web framework with many decorators
Go to Latest
function Content
Re-export
import { Content } from "https://deno.land/x/alosaur@v0.33.0/src/renderer/mod.ts";

Render JSON or other content such as strings, numbers, booleans

Parameters

optional
result:
| string
| number
| boolean
| Object
optional
status: number = [UNSUPPORTED]
optional
headers: Headers = [UNSUPPORTED]