Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
http_compress
/
deps.ts
>
db
Compress HTTP response, supported Web standard compression methods
httpland/http-compress
Version
Latest
1.0.1
1.0.1-beta.1
1.0.0
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Menu
mod.ts
(default module)
I
CompressOptions
I
FilterContext
T
Handler
f
isCompressible
f
withCompress
compress.ts
I
CompressOptions
I
FilterContext
v
defaultFilter
f
withCompress
deps.ts
T
Handler
v
db
f
acceptsEncodings
f
brotli
f
deflate
f
gzip
f
mergeHeaders
f
parseMediaType
f
safeResponse
dev_deps.ts
I
f
describe
I
DescribeDefinition
I
f
it
I
ItDefinition
I
TestSuite
T
DescribeArgs
T
Fn
T
ItArgs
v
expect
f
afterAll
f
afterEach
f
beforeAll
f
beforeEach
f
fn
encodes.ts
I
Encoder
T
Encode
v
Encoders
v
encodes
utils.ts
f
isCompressible
variable
db
import
{ db }
from
"https://deno.land/x/http_compress@1.0.1/deps.ts"
;