UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

6 lines (5 loc) 294 B
/// <reference types="node" /> import { PassThrough } from "stream"; export type DecompressTypes = 'none' | 'gzip' | 'brotli' | 'inflate'; export declare const DecompressMapping: Record<string, DecompressTypes>; export default function handleDecompressType(type: DecompressTypes): PassThrough;