├── .gitignore ├── .mocharc.json ├── .prettierrc.js ├── .vscode ├── launch.json └── settings.json ├── README.md ├── example.js ├── package.json ├── src ├── index.ts ├── request-patterns.ts └── types.ts ├── test ├── index.test.ts ├── server.ts └── server_root │ ├── console.js │ ├── dynamic.js │ └── index.html └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | .DS_Store 4 | dist/ -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/README.md -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/example.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/request-patterns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/src/request-patterns.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /test/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/test/server.ts -------------------------------------------------------------------------------- /test/server_root/console.js: -------------------------------------------------------------------------------- 1 | console.log('hi'); -------------------------------------------------------------------------------- /test/server_root/dynamic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/test/server_root/dynamic.js -------------------------------------------------------------------------------- /test/server_root/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/test/server_root/index.html -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsoverson/puppeteer-interceptor/HEAD/tsconfig.json --------------------------------------------------------------------------------