UNPKG

http-encoding

Version:

Everything you need to handle HTTP message body content-encoding

85 lines (84 loc) 2.21 kB
{ "name": "http-encoding", "version": "2.2.0", "description": "Everything you need to handle HTTP message body content-encoding", "main": "dist/index.js", "browser": { "zstd-codec": "./zstd-codec-browser" }, "sideEffects": false, "files": [ "dist", "src", "custom-typings", "zstd-codec-browser.js" ], "scripts": { "build": "tsc -p .", "pretest": "npm run build", "test": "npm run test:node && npm run test:browser", "test:node": "TS_NODE_FILES=true mocha -r ts-node/register 'test/**/*.spec.ts'", "test:browser": "karma start", "test:browser:debug": "npm run test:browser -- --single-run=false --browsers Chrome", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/httptoolkit/http-encoding.git" }, "keywords": [ "http", "encoding", "content-encoding", "encoder", "decoder", "brotli", "zstandard", "zstd", "gzip", "deflate" ], "author": "Tim Perry <tim@httptoolkit.com>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/httptoolkit/http-encoding/issues" }, "homepage": "https://github.com/httptoolkit/http-encoding#readme", "engines": { "node": ">=v18.0.0" }, "dependencies": { "brotli-wasm": "^3.0.0", "pify": "^5.0.0", "zstd-codec": "^0.1.5" }, "devDependencies": { "@types/chai": "^4.2.18", "@types/chai-as-promised": "^7.1.4", "@types/mocha": "^8.2.2", "@types/node": "^22.15.16", "@types/pify": "^5.0.1", "assert": "^2.0.0", "browserify-zlib": "^0.2.0", "buffer": "^6.0.3", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "crypto-browserify": "^3.12.0", "karma": "^6.3.2", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "karma-sourcemap-loader": "^0.3.8", "karma-spec-reporter": "0.0.32", "karma-webpack": "^5.0.0", "mocha": "^8.4.0", "process": "^0.11.10", "stream-browserify": "^3.0.0", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "5.6.3", "util": "^0.12.3", "webpack": "^5.37.0", "zlib-browserify": "0.0.3" } }