{"library":"nice-axios","type":"library","category":null,"description":"NiceAxios is a plugin-based wrapper around Axios that implements the 'onion model' middleware pattern (inspired by Koa) for intercepting and processing HTTP requests and responses. Current stable version: 0.1.33. It allows developers to compose custom plugins with ordered execution (lower order for pre-request, higher for post-response) using a compose function. Supports TypeScript types, easy extension, and seamless integration with existing Axios instances. Ideal for adding cross-cutting concerns like authentication, logging, and error handling in a modular, reusable way.","language":"javascript","status":"active","version":"0.1.33","tags":["javascript","rollup","axios","vitest","vitepress","typescript","react","vue","nodejs"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nice-axios","imports":["import { createNiceAxios } from 'nice-axios'","import type { NiceAxiosPlugin } from 'nice-axios'","import type { NiceAxiosExecutor } from 'nice-axios'"]},{"cmd":"yarn add nice-axios","imports":[]},{"cmd":"pnpm add nice-axios","imports":[]}],"homepage":"https://github.com/sixdjango","github":"https://github.com/sixdjango/nice-axios","docs":null,"changelog":null,"pypi":null,"npm":"nice-axios","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}