fetch-wrap
JSON →Extend the WHATWG fetch API with middleware in a transparent, recursive manner. Current stable version is 0.1.2. It allows chaining of middleware functions that can modify URLs, options, response handling, and error catching. Key differentiators include built-in middleware for URL parameters, conditional options by URL pattern, JSON serialization/deserialization, and logging. Supports any fetch implementation (native, ponyfill, polyfill) and is isomorphic. Unit tested and benchmarked against plain fetch.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada
Resources
packagefetch-wrap ↗