encodeDictionary(dict: Dictionary): string
encodeDictionary encodes a dictionary according to RFC 8941 Section 4.1.2.
dict: Dictionary
the dictionary to encode
SFV-encoded string of the dictionary
TypeScript implementation for RFC 8941 Structured Field Values for HTTP
encodeDictionary(dict: Dictionary): string
encodeDictionary encodes a dictionary according to RFC 8941 Section 4.1.2.
dict: Dictionary
the dictionary to encode
SFV-encoded string of the dictionary
Add Package
deno add jsr:@shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";
Import directly with a jsr specifier
import { encodeDictionary } from "jsr:@shogo82148/sfv";
Add Package
pnpm i jsr:@shogo82148/sfv
pnpm dlx jsr add @shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";
Add Package
yarn add jsr:@shogo82148/sfv
yarn dlx jsr add @shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";
Add Package
vlt install jsr:@shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";
Add Package
npx jsr add @shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";
Add Package
bunx jsr add @shogo82148/sfv
Import symbol
import { encodeDictionary } from "@shogo82148/sfv";