axios-stubber
JSON →A lightweight library for stubbing axios HTTP requests and responses in tests, providing a developer-friendly API to define stubs via inline objects, JSON files, or JS modules. The current version (1.0.7-alpha.1) supports global axios stubbing and recording real calls for later replay. Key differentiators: zero-config setup, support for both request/response stubbing and recording, and TypeScript type definitions included. It is less mature than alternatives like axios-mock-adapter, but offers a simpler stubbing API ideal for quick test setup. Development appears slow with alpha releases indicating experimental status.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 2 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · BY · 🇨🇦 Canada
Resources
packageaxios-stubber ↗