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
4 days ago (0.23.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 @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";