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

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

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function Content
import { Content } from "https://deno.land/x/alosaur@v0.33.0/src/renderer/content.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]