Skip to main content
Module

x/jose/index.ts>DeflateFunction

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
interface DeflateFunction
Deprecated
Deprecated

Compression of data SHOULD NOT be done before encryption, because such compressed data often reveals information about the plaintext.

import { type DeflateFunction } from "https://deno.land/x/jose@v4.14.1/index.ts";

Deflate Raw implementation, e.g. promisified zlib.deflateRaw.

Call Signatures

(input: Uint8Array): Promise<Uint8Array>