UNPKG

xhr-sniffer

Version:

🔨 Sniff HTTP requests making by XHR in the browser or HTTP module in Node.js

55 lines (54 loc) • 1.53 kB
{ "name": "xhr-sniffer", "description": "🔨 Sniff HTTP requests making by XHR in the browser or HTTP module in Node.js", "version": "1.0.8", "license": "MIT", "author": { "name": "Piotr Kowalski", "email": "piecioshka@gmail.com", "url": "https://piecioshka.pl/" }, "scripts": { "clear": "rm -rf coverage/", "clear:all": "rm -rf node_modules/ && npm run clear", "test": "npm run test:unit", "test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json", "coverage": "nyc npm run test && nyc report --reporter=html", "count": "find . -name '*.js' -not -path './node_modules/*' -not -path './coverage/*' | xargs wc -l | sort -r", "lint": "eslint src/ demo/", "deploy": "gh-pages -d ." }, "devDependencies": { "eslint": "^6.8.0", "eslint-config-piecioshka": "^2.0.2", "gh-pages": "^2.2.0", "jasmine": "^3.5.0", "nock": "^12.0.3", "node-fetch": "^2.6.0", "nyc": "^15.0.0" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/piecioshka/xhr-sniffer.git" }, "files": [ "demo", "src", "package.json", "README.md" ], "keywords": [ "sniff", "sniffer", "sniffing", "xmlhttprequest", "request", "xhr", "node", "nodejs", "http", "https", "protocol" ], "main": "./src/server.js" }