JediMock – Mock API responses in DevTools by wrapping fetch and XHR
DevTools console injection beats MSW's codebase integration requirement.
Deep AJAX interception for XHR & Fetch with unified request/response hooks and stream support (SSE/NDJSON).
Stream-aware interception and unified XHR+Fetch API is clever; replaces hand-rolled monkey patches.
Browser extension developers, userscript authors, and teams debugging or rewriting API calls at runtime.
Axios interceptors · Service Workers · Fetch API middleware libraries
GitHub: https://github.com/Arktomson/ajaxInterceptor npm: https://www.npmjs.com/package/ajax-hooker
What it does:
One unified hook model for XMLHttpRequest + fetch Mutate request fields: URL / method / headers / body Observe or rewrite response payloads Chain multiple hooks (auth/logging/rewrite separated) Stream interception for SSE/NDJSON-like responses Typical use cases:
Add auth/tracing headers globally Switch API domain/version without touching app code Mock or patch responses during integration/debug Build userscript or Chrome-extension request tooling I’d really appreciate feedback on:
API ergonomics for hook composition edge cases around fetch response semantics stream interception behavior in real-world apps
DevTools console injection beats MSW's codebase integration requirement.
Blocks gh run watch rate-limit burns and pkill -f disasters before they happen.
5KB drop-in AJAX library beats HTMX (16KB) and Turbo (25KB) with zero dependencies.
Smart hysteresis compaction for Claude Code, but limited to single API and not a general problem.
Six shell hooks hard-block RCE and exfiltration before Claude Code executes anything.
Multi-forge heatmap for Hugo when GitHub's native one already exists.