Skip to main content
This release is 2 versions behind 0.24.0 — the latest version of @http/host-deno-deploy. Jump to latest

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
4 months ago (0.21.0)
function denoDeployEtag
denoDeployEtag(): Promise<string | undefined>

Get a default ETag for use in Deno deploy with serveFile/serveDir/staticRoute.

NOTE: This can still be used in other runtimes and outside Deno Deploy, it'll just return undefined.

Return Type

Promise<string | undefined>

Add Package

deno add jsr:@http/host-deno-deploy

Import symbol

import { denoDeployEtag } from "@http/host-deno-deploy/deno-deploy-etag";

---- OR ----

Import directly with a jsr specifier

import { denoDeployEtag } from "jsr:@http/host-deno-deploy/deno-deploy-etag";