Preparing for system design interviews?  Try bugzed.com →

bun-bagel

JSON →
library 1.2.0 ·javascript
verified Jun 7, 2026

bun-bagel is a lightweight mocking library for Bun's native fetch API, enabling developers to intercept HTTP requests and return custom responses during testing. Current stable version is 1.2.0. It is experimental and actively developed. Key differentiators: built specifically for Bun runtime (not Node.js), supports URL pattern matching with wildcards, mock by method/headers, and allows responses using Bun.file. No external dependencies except TypeScript peer dependency for type definitions. Ideal for unit testing Bun applications without network calls.

total hits 9
actors 2 distinct systems
last hit 22d ago human
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France