šØ Sniff HTTP requests making by XHR in the browser or HTTP module in Node.js
npm install xhr-sniffer





šØ Sniff HTTP requests making by XHR in the browser or HTTP module in Node.js
- ā
Display logs of XMLHttpRequests in DevTools Console
- ā
Display logs of http module in Node.js
- āļø Sniffing Fetch API
Installation:
``bash`
npm install xhr-sniffer
`javascript
const xhrSniffer = require('xhr-sniffer');
xhrSniffer.install();
// do XHR requests
xhrSniffer.uninstall();
`
Attach files in
tag:`html
``Next, make some XMLHttpRequests requests.
The MIT License @ 2018