UNPKG

h3-compression

Version:

Adds compression to h3 request (brotli, gzip, deflate)

94 lines (93 loc) 2.18 kB
{ "name": "h3-compression", "type": "module", "version": "0.3.2", "packageManager": "pnpm@8.7.0", "description": "Adds compression to h3 request (brotli, gzip, deflate)", "author": { "name": "Gregor Becker", "email": "gregor@codedredd.de" }, "license": "MIT", "funding": "https://github.com/sponsors/codedredd", "homepage": "https://github.com/CodeDredd/h3-compression#readme", "repository": { "type": "git", "url": "git+https://github.com/CodeDredd/h3-compression.git" }, "bugs": "https://github.com/CodeDredd/h3-compression/issues", "keywords": [ "h3", "h3-compression", "gzip", "brotli", "deflate", "compression" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist", "LICENSE", "README.md" ], "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "eslint .", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", "test:types": "vitest typecheck", "prepare": "simple-git-hooks" }, "peerDependencies": { "h3": "^1.6.0" }, "devDependencies": { "@antfu/eslint-config": "^0.41.0", "@antfu/ni": "^0.21.6", "@antfu/utils": "^0.7.6", "@types/node": "^20.5.7", "@types/supertest": "^2.0.12", "@vitest/coverage-v8": "^0.34.3", "bumpp": "^9.2.0", "eslint": "^8.48.0", "esno": "^0.17.0", "h3": "^1.8.1", "lint-staged": "^14.0.1", "node-fetch-native": "^1.4.0", "pnpm": "^8.7.0", "rimraf": "^5.0.1", "simple-git-hooks": "^2.9.0", "supertest": "^6.3.3", "typescript": "^5.2.2", "unbuild": "^2.0.0", "vite": "^4.4.9", "vitest": "^0.34.3" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, "lint-staged": { "*": "eslint --fix" } }