UNPKG

http-proxy-middleware

Version:

The one-liner node.js proxy middleware for connect, express, next.js and more

123 lines (122 loc) • 3.26 kB
{ "name": "http-proxy-middleware", "version": "4.2.2", "description": "The one-liner node.js proxy middleware for connect, express, next.js and more", "keywords": [ "browser-sync", "connect", "cors", "express", "fastify", "grunt-contrib-connect", "gulp", "hono", "http", "https", "middleware", "next.js", "polka", "proxy", "reverse", "websocket", "ws" ], "homepage": "https://github.com/chimurai/http-proxy-middleware#readme", "bugs": { "url": "https://github.com/chimurai/http-proxy-middleware/issues" }, "license": "MIT", "author": "Steven Chim", "repository": { "type": "git", "url": "git+https://github.com/chimurai/http-proxy-middleware.git" }, "files": [ "dist" ], "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./hono": { "types": "./dist/index-hono.d.ts", "import": "./dist/index-hono.js", "default": "./dist/index-hono.js" } }, "publishConfig": { "provenance": true }, "scripts": { "clean": "rm -rf dist coverage tsconfig.tsbuildinfo .eslintcache", "install:all": "yarn && (cd examples && yarn)", "lint": "yarn format && yarn eslint", "lint:fix": "yarn format:fix && yarn eslint:fix", "eslint": "eslint --cache '**/*.{js,ts,mjs,mts}'", "eslint:fix": "yarn eslint --fix", "format": "oxfmt --list-different \"**/*.{js,ts,mjs,mts,md,yml,json,html}\"", "format:fix": "oxfmt --write \"**/*.{js,ts,mjs,mts,md,yml,json,html}\"", "build": "tsc --build", "test": "vitest run", "test:types": "tsc --project tsconfig.test.json --noEmit", "coverage": "vitest run --coverage", "prepare": "husky", "prepack": "yarn clean && yarn test && yarn build", "spellcheck": "npx --yes cspell --show-context --show-suggestions '**/*.*'" }, "dependencies": { "debug": "^4.4.3", "httpxy": "^0.5.6", "is-glob": "^4.0.3", "is-plain-obj": "^4.1.0", "micromatch": "^4.0.8" }, "devDependencies": { "@commitlint/cli": "21.2.4", "@commitlint/config-conventional": "21.2.4", "@eslint/js": "10.0.1", "@hono/node-server": "2.1.8", "@types/debug": "4.1.13", "@types/eslint": "9.6.1", "@types/express": "5.0.6", "@types/is-glob": "4.0.4", "@types/micromatch": "4.0.10", "@types/node": "26.6.6", "@types/supertest": "7.2.1", "@types/ws": "8.18.2", "@vitest/coverage-v8": "5.1.0", "body-parser": "2.4.0", "eslint": "10.15.0", "express": "5.3.0", "get-port": "7.2.0", "globals": "17.14.0", "hono": "4.13.18", "husky": "9.1.7", "lint-staged": "17.6.0", "mockttp": "4.6.5", "msw": "3.0.5", "nock": "15.0.6", "open": "11.0.4", "oxfmt": "0.78.0", "pkg-pr-new": "0.0.93", "supertest": "7.3.2", "typescript": "6.0.3", "typescript-eslint": "8.72.2", "vite": "8.3.8", "vitest": "5.1.0", "ws": "8.23.0" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "engines": { "node": "^22.15.0 || ^24.0.0 || >=26.0.0" } }