UNPKG

node-request-interceptor

Version:

Low-level HTTP/HTTPS/XHR request interception library for NodeJS

60 lines (59 loc) 1.4 kB
{ "name": "node-request-interceptor", "description": "Low-level HTTP/HTTPS/XHR request interception library for NodeJS", "version": "0.6.3", "main": "lib/index.js", "typings": "lib/index.d.ts", "author": "Artem Zakharchenko", "license": "MIT", "scripts": { "start": "tsc --build -w", "test": "jest --no-cache --runInBand", "clean": "rimraf lib", "build": "yarn clean && tsc --build", "prepublishOnly": "yarn test && yarn build" }, "files": [ "lib", "README.md" ], "repository": { "type": "git", "url": "https://github.com/mswjs/node-request-interceptor" }, "devDependencies": { "@types/cors": "^2.8.7", "@types/express": "^4.17.8", "@types/jest": "^25.2.1", "@types/node": "^13.13.2", "@types/node-fetch": "^2.5.7", "@types/supertest": "^2.0.10", "axios": "^0.19.2", "body-parser": "^1.19.0", "cors": "^2.8.5", "express": "^4.17.1", "jest": "^25.4.0", "node-fetch": "^2.6.0", "rimraf": "^3.0.2", "supertest": "^4.0.2", "ts-jest": "^25.4.0", "typescript": "^3.8.3" }, "dependencies": { "@open-draft/until": "^1.0.3", "debug": "^4.3.0", "headers-utils": "^1.2.0", "strict-event-emitter": "^0.1.0" }, "keywords": [ "request", "intercept", "http", "https", "xmlhttprequest", "xhr", "fetch", "low-level", "mock" ] }