{"library":"axios-cancel","type":"library","category":null,"description":"A lightweight library (v0.2.2, last release Nov 2017, no active development) that simplifies cancelling Axios HTTP requests by providing a thin wrapper around Axios's built-in cancellation API. It allows assigning a requestId per request and cancelling individual requests via axios.cancel(id) or all pending requests via axios.cancelAll(). Unlike using raw CancelToken, axios-cancel manages cancellation tokens internally, reducing boilerplate. Works with Axios >=0.15.0. Current version is stable but unmaintained; consider using Axios's native cancellation with AbortController for newer Axios versions.","language":"javascript","status":"deprecated","version":"0.2.2","tags":["javascript","axios","http","cancel","promise"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install axios-cancel","imports":["import axiosCancel from 'axios-cancel'","axios.cancel(requestId, reason?)","axios.cancelAll(reason?)"]},{"cmd":"yarn add axios-cancel","imports":[]},{"cmd":"pnpm add axios-cancel","imports":[]}],"homepage":"https://github.com/thaerlabs/axios-cancel#readme","github":"https://github.com/thaerlabs/axios-cancel","docs":null,"changelog":null,"pypi":null,"npm":"axios-cancel","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}