axios-inherit
JSON →axios-inherit (v1.0.1, stable, low release cadence) is a small utility that adds interceptor inheritance to axios. It ensures that any existing interceptors on the global axios instance are inherited by new instances created via axios.create(), and that new interceptors added to the global instance are applied to already existing instances. It also handles interceptor removal. This solves a common pain point when using axios across modules or configuring shared interceptors. It is available on npm, ships TypeScript types, and has a minimal API surface. Similar functionality can be achieved manually, but axios-inherit provides a simple drop-in solution.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 4 distinct systems
last hit 16d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · AR · 🇫🇷 France
Resources
packageaxios-inherit ↗