Skip to main content

Built and signed on GitHub Actions

Hosting on Deno Deploy, for production/staging deployments.

This package works with Deno
This package works with Deno
JSR Score
94%
Published
2 months ago (0.21.0)
function initDeploy
initDeploy(
handler: () => Awaitable<Response | null>,
...interceptors: Interceptors<unknown[], Response>[],
): Deno.ServeInit & (Deno.ServeOptions | Deno.ServeTlsOptions)

Convenience function to generate Deno.serve init parameter for Deno Deploy.

Parameters

handler: () => Awaitable<Response | null>
...interceptors: Interceptors<unknown[], Response>[]

Return Type

Add Package

deno add @http/host-deno-deploy

Import symbol

import default from "@http/host-deno-deploy/init";