Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/etag_parser/utils.ts>weakPrefix

HTTP ETag header field parser
Latest
function weakPrefix
import { weakPrefix } from "https://deno.land/x/etag_parser@1.1.0/utils.ts";

Return weak prefixed string.

Type Parameters

T extends string

Returns

`W/${T}`