{"name":"testcafe-hammerhead","version":"25.0.0","author":{"name":"Developer Express Inc."},"license":"MIT","_id":"testcafe-hammerhead@25.0.0","maintainers":[{"name":"vasily.strelyaev","email":"bazilstrel@gmail.com"},{"name":"aleksey_popov","email":"alexey.popov@devexpress.com"},{"name":"dmitry-ostashev","email":"dmitry.ostashev@gmail.com"},{"name":"miherlosev","email":"mlosev86@gmail.com"},{"name":"belym.a.2105","email":"belym.a.2105@gmail.com"},{"name":"kirovboris","email":"boris.s.kirov@gmail.com"},{"name":"alexkamaev","email":"alexikam@gmail.com"}],"homepage":"https://github.com/DevExpress/testcafe-hammerhead","bugs":{"url":"https://github.com/DevExpress/testcafe-hammerhead/issues"},"dist":{"shasum":"bc76f443288dbcdec15618d0aa6f5a0df66196f4","tarball":"http://registry-npm.ywwl.com/testcafe-hammerhead/download/testcafe-hammerhead-25.0.0.tgz","fileCount":147,"integrity":"sha512-IdWSo/Lvyrb0NhcwrfRMlW7rEZyVWrAYD0nZ8QkAtwzgHeVQVpJery+ch9iPiVmoBQknqx+YFTYk9jh9ke2ZWg==","signatures":[{"sig":"MEUCIExcZfZUB4k/MX0jELttm8uAlvG8RC6oQ3fwEkQ6VMPlAiEA8DKoBG4ShE3bMwgja+kPErs31PUWxaIMnX3KgYh2kJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2421920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNWbJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokvA/+IQL22S9LPPTERaZmYtLh9vX34ZMkxyV4lyKJjZuUh/BWnSCo\r\nTQjrNzO9XhUGTGxerXHxf692lB3CHRC16rlFt4PfXA3K7ezK31W7dnVOQfzz\r\nf4m6VePm7wfYzH+tumw1x79hb+K2wNoalfF7yzg/wRiq0Tig06GVZPOflY7E\r\nrTWVsNm+0JJytuc/HRKlYILb7dY2WRGfN+OdiUceXedIFnZM7tW5nivnzT/l\r\njYfZUK4osBlrqqgKqZ97abKEYRqhMu0CabcvDUEYqiznub3jeq/mLQPg+yBP\r\nbVLwuwWFGGTz2h02/ZPr4iSrJXXymowXd4kLDL14x+wf5Zl1YDo4y+C4cVcB\r\nuoEiP0Psjo1Gm2G4tp7XtUEM0fm0qIGC7sFaSbb9KeYunraagxhzQFbek1CL\r\nieG0oOYVmKfoRyA/fsk4MBtc2dlXzqx2dT9+RtSBNR07XtNUMmCXN9uPDdVN\r\nESNX+CCHvztqKdFjeZxGqTjprQPM6acofbmuLvIH0HTyAoXWBIkdxtTeHaGI\r\nXkKFzZFYdvyQirssUIzHCKPz8AOyNygcdRzGUvCOO3g7eQ3C8VB0iURUh7Hb\r\n3TtGEURNBLIe975UwqsXzrAzqm/CC8LMFsxt/KeAsDIp9jCyP06TjQCc7lam\r\nmzPqbVPE5bjpplft7lHR6FEVUDQNQznAhAY=\r\n=za99\r\n-----END PGP SIGNATURE-----\r\n","size":530082,"noattachment":false,"key":"/testcafe-hammerhead/-/testcafe-hammerhead-25.0.0.tgz"},"main":"lib/index","types":"ts-defs/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"2d339a887de532953d1617b136fb221352c23d77","scripts":{"test":"gulp travis","prepublish":"publish-please guard","publish-please":"del-cli package-lock.json node_modules && npm i && publish-please","publish-please-only":"publish-please"},"_npmUser":{"name":"belym.a.2105","email":"belym.a.2105@gmail.com"},"repository":{"url":"git+https://github.com/DevExpress/testcafe-hammerhead.git","type":"git"},"_npmVersion":"6.14.17","description":"A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).","directories":{},"_nodeVersion":"14.20.0","dependencies":{"css":"2.2.3","asar":"^2.0.1","mime":"~1.4.1","debug":"4.3.1","bowser":"1.6.0","lodash":"^4.17.20","nanoid":"^3.1.12","parse5":"2.2.3","pinkie":"2.0.4","semver":"5.5.0","webauth":"^1.1.0","mustache":"^2.1.1","lru-cache":"2.6.3","os-family":"^1.0.0","crypto-md5":"^1.0.0","iconv-lite":"0.5.1","merge-stream":"^1.0.1","tough-cookie":"4.0.0","tunnel-agent":"0.6.0","acorn-hammerhead":"0.6.1","esotope-hammerhead":"0.6.2","match-url-wildcard":"0.0.4","read-file-relative":"^1.2.0","http-cache-semantics":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^7.4.6","del":"^3.0.0","tmp":"0.0.26","chai":"^2.3.0","gulp":"^4.0.0","tslib":"^2.4.0","eslint":"^7.13.0","rollup":"^2.38.5","del-cli":"^3.0.1","express":"4.16.3","request":"^2.34.0","gulp-step":"^1.0.1","gulp-util":"3.0.6","multiline":"^1.0.2","@types/css":"0.0.31","basic-auth":"1.0.4","gulp-clone":"^2.0.1","typescript":"^4.7.4","@types/node":"^14.0.27","body-parser":"^1.18.3","gulp-eslint":"^6.0.0","gulp-rename":"^1.2.2","gulp-uglify":"^1.0.0","js-beautify":"^1.13.5","babel-eslint":"^10.1.0","express-ntlm":"2.1.5","gulp-ll-next":"^2.1.0","@types/estree":"0.0.46","@types/lodash":"^4.14.129","@types/parse5":"2.2.34","@types/semver":"^6.0.0","gulp-mustache":"^3.0.1","endpoint-utils":"^1.0.1","publish-please":"^5.5.2","@types/mustache":"0.8.32","gulp-typescript":"^5.0.0","@types/lru-cache":"5.1.0","gulp-run-command":"0.0.9","gulp-mocha-simple":"^1.1.0","gulp-qunit-harness":"^1.0.3","@types/tough-cookie":"^4.0.1","request-promise-native":"^1.0.5","@rollup/plugin-commonjs":"^17.1.0","eslint-plugin-hammerhead":"^0.4.0","@typescript-eslint/parser":"^5.29.0","rollup-plugin-typescript2":"^0.32.1","@rollup/plugin-node-resolve":"^11.1.1","eslint-plugin-no-only-tests":"^2.0.1","babel-plugin-add-module-exports":"^1.0.0","openssl-self-signed-certificate":"1.1.6","@typescript-eslint/eslint-plugin":"^5.29.0"},"_npmOperationalInternal":{"tmp":"tmp/testcafe-hammerhead_25.0.0_1664444105598_0.16206656067679837","host":"s3://npm-registry-packages"},"readme":"# testcafe-hammerhead\n`testcafe-hammerhead` is a powerful Web proxy used as a core for the [TestCafe](https://github.com/devexpress/testcafe) testing framework.\n\n## Core Concepts\n\n`testcafe-hammerhead` is a URL-rewriting proxy. This means that it rewrites all properties of the appropriate JavaScript objects that contain a URL value (`Location`, `HTMLLinkElement.href`, etc). You can see it if you open a proxied page, invoke the browser's DevTools and inspect any element.\n\nIn addition, the proxied web page does not know that it is opened under a proxy. The proxy intercepts access attempts to all URL-containing properties and provides the original values.\n\n## First Look\n1. Clone the Hammerhead repository\n    ```cmd\n    git clone https://github.com/DevExpress/testcafe-hammerhead.git\n    ```\n1. Go to the `testcafe-hammerhead` folder\n    ```cmd\n    cd testcafe-hammerhead\n    ```\n1. Install the dependencies\n    ```cmd\n    npm install\n    ```\n1. Run the [Hammerhead playground](https://github.com/DevExpress/testcafe-hammerhead/blob/master/test/playground/server.js) to see our proxy in action\n    ```cmd\n    node node_modules/gulp/bin/gulp http-playground\n    ```\n\nThis opens a playground page where you can specify a webpage to proxy. Enter the page URL and hit **Proxy!**.\n\n## Features\n\n* HTTP/HTTPS requests\n* WebSockets, EventSource\n* file upload\n* request events (`onRequest`, `onResponse`)\n* bypassing requests\n* custom UI on a web page\n\n##  Reporting Issues and Contributing\n\nRead our [Contributing Guide](https://github.com/DevExpress/testcafe-hammerhead/blob/master/CONTRIBUTING.md) to learn how to contribute to the project.\n\n[![Build Status](https://img.shields.io/github/checks-status/DevExpress/testcafe-hammerhead/master?label=Tests)](https://github.com/DevExpress/testcafe-hammerhead/commits/master)\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/testcafebot.svg)](https://saucelabs.com/u/testcafebot)\n","publish_time":1664444105816,"_cnpm_publish_time":1664444105816,"dist-tags":{"latest":"31.7.9"}}