UNPKG

http-proxy-middleware

Version:

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

122 lines (121 loc) 3.24 kB
{ "name": "http-proxy-middleware", "version": "4.0.0", "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.1", "is-glob": "^4.0.3", "is-plain-obj": "^4.1.0", "micromatch": "^4.0.8" }, "devDependencies": { "@commitlint/cli": "20.5.0", "@commitlint/config-conventional": "20.5.0", "@eslint/js": "10.0.1", "@hono/node-server": "2.0.0", "@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": "24.10.2", "@types/supertest": "7.2.0", "@types/ws": "8.18.1", "@vitest/coverage-v8": "4.1.5", "body-parser": "2.2.2", "eslint": "10.2.1", "express": "5.2.1", "get-port": "7.2.0", "globals": "17.5.0", "hono": "4.12.14", "husky": "9.1.7", "lint-staged": "16.4.0", "mockttp": "4.3.1", "msw": "2.13.6", "nock": "14.0.13", "open": "11.0.0", "oxfmt": "0.46.0", "pkg-pr-new": "0.0.66", "supertest": "7.2.2", "typescript": "6.0.3", "typescript-eslint": "8.59.0", "vitest": "4.1.5", "ws": "8.20.0" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "engines": { "node": "^22.15.0 || ^24.0.0 || >=26.0.0" } }