Inspect the full exchange
Fetch, XMLHttpRequest, WebSocket frames, and browser resource timings. Read retained headers and bodies as text, hex, or expandable JSON.
OPEN SOURCE · PLAIN JAVASCRIPT
See the request. Read the message. Find the moment that set it all in motion. A network inspector that lives right inside your application.
npm install github:inferal-oss/web-network-inspector
Install the current source from GitHub. No runtime dependencies.
A capture from the included demo. Custom events, real requests, and your application’s own controls.
BUILT FOR THE SPACE BETWEEN
Bring transport details and application context together, without building a debugging UI from scratch.
Fetch, XMLHttpRequest, WebSocket frames, and browser resource timings. Read retained headers and bodies as text, hex, or expandable JSON.
A saved draft. A changed filter. A connection check. Record your own labels and payloads alongside the traffic they help explain.
Add native controls, live status elements, and application-owned popups. The bar is an extension point, not a closed box.
A FEW LINES GO A LONG WAY
Keep the event types, controls, and content that make sense for your app. There’s no backend protocol to adopt.
Explore the APIinspector.recordEvent({
type: 'document.saved',
label: 'Saved a draft',
correlationId: 'example-document',
data: JSON.stringify({ revision: 3 }),
});
const status = document.createElement('span');
status.textContent = 'Ready';
inspector.addBarItem({
id: 'connection-status',
element: status,
});
inspector.openPopup({
title: 'Connection details',
anchor: connectionButton,
content: ({ container }) => {
container.textContent = 'Ready to go.';
},
});
DELIBERATELY WELL BEHAVED
Select a row or browse the waterfall to hold your place while new traffic keeps arriving.
Set limits for retained entries, messages, and preview bytes. Adjust them without restarting the inspector.
Theme through CSS variables, add an override stylesheet, or replace the styles altogether.
Read the styling guide →Capture stays local, with optional bounded IndexedDB history. No telemetry. Enable it where inspecting sensitive traffic is appropriate.
TAKE A CLOSER LOOK