network-activity-viewer
v1.2.0
Published
Tracks http and https requests made from the application
Downloads
2,901
Maintainers
Readme
Network Debugger
Chrome devtools network tab like functionality for node apps!!!
There is no easy way to view network requests made from a node app similar to network tab in chrome devtools for ui apps.
This package solves this by tracking the network requests made from your node application and showing them in a chrome dev tools like UI !!!
Usage
- Install the package
npm i network-activity-viewer
- Start network tracking
// Add this code in a main js / ts file import { initNetworkLogging } from 'network-activity-viewer'; initNetworkLogging();
- See the requests made by navigating to http://localhost:4500 in the browser!
- Click on the reload icon to refresh the requests.
Note: This package expects ports 6262 and 4500 to be available