{"_id":"@cancjs/axios","_rev":"8-9b389bbf64c30e5dc99f46336077b98c","name":"@cancjs/axios","dist-tags":{"latest":"1.0.0","beta":"1.0.0-beta.20"},"versions":{"1.0.0-beta.17":{"name":"@cancjs/axios","version":"1.0.0-beta.17","keywords":["axios","cancel","cancelable","abort","promise"],"author":{"name":"bisubus"},"license":"MIT","_id":"@cancjs/axios@1.0.0-beta.17","maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"homepage":"https://github.com/cancjs/canc/packages/canc-axios#readme","bugs":{"url":"https://github.com/cancjs/canc/issues"},"dist":{"shasum":"772a85198bc74d684fa0e49b25d1aa1cc7a8eb2a","tarball":"https://registry.npmjs.org/@cancjs/axios/-/axios-1.0.0-beta.17.tgz","fileCount":23,"integrity":"sha512-juyAkumUYboEjFs5jWWa9aLepirAr/aez6xeIvRJ05B8z78pIqHP1AtDyCGOBWJ8ehT00GdbWdIIuGUaKAk3jQ==","signatures":[{"sig":"MEUCIHeAW7Dbp3yXu7vFmXfJMEjELLeAtgQ/bXJM4pK0CtVQAiEA+PwWdSqbR6FVycy+UcCB1hscGBanAIENEKoszB1hKHk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":264389},"main":"dist/index.cjs","types":"dist/types/index.d.ts","unpkg":"dist/index.umd.min.js","module":"dist/index.mjs","engines":{"npm":">=9","node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"c32f6aaf26b06a1a463990ccf36962f39cc886f5","scripts":{"lint":"eslint .","test":"jest --colors","build":"rimraf dist && rollup --config ./rollup.config.js","check":"tsc --noEmit --project ./tsconfig.prod.json","format":"eslint --fix .","lint:src":"eslint ./src","format:src":"eslint --fix ./src","test:watch":"jest --colors --watch"},"_npmUser":{"name":"busybus","email":"busybus8@proton.me"},"jsdelivr":"dist/index.umd.min.js","repository":{"url":"git+https://github.com/cancjs/canc.git","type":"git","directory":"packages/canc-axios"},"_npmVersion":"11.6.3","description":"Cancelable promise adapter for axios.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"axios":"1.16.0","axios-legacy":"npm:axios@0.22.0","@cancjs/promise":"*","@cancjs/toolbox":"*"},"peerDependencies":{"axios":">=0.22","@cancjs/promise":"*","@cancjs/toolbox":"*"},"_npmOperationalInternal":{"tmp":"tmp/axios_1.0.0-beta.17_1785795524219_0.7853916318821734","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.18":{"name":"@cancjs/axios","version":"1.0.0-beta.18","keywords":["axios","cancel","cancelable","abort","promise"],"author":{"name":"bisubus"},"license":"MIT","_id":"@cancjs/axios@1.0.0-beta.18","maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"homepage":"https://github.com/cancjs/canc/tree/master/packages/canc-axios#readme","bugs":{"url":"https://github.com/cancjs/canc/issues"},"dist":{"shasum":"8c2a817d552c690ed8ce95ba6cd3c15a50ea0cf1","tarball":"https://registry.npmjs.org/@cancjs/axios/-/axios-1.0.0-beta.18.tgz","fileCount":23,"integrity":"sha512-r8Nkctjt/HlF3Q0ZWtIIn6XuiC2VDQ9Js9XEAOgMVpjkdzXSJvojmRFDH8PR/I6ZU5XMwL3IPQJmXwDiMlSeTQ==","signatures":[{"sig":"MEUCIF8Mdg5RyQG6J5CIia255fv2bEgLA4EjzKH6Iwn2z+B4AiEAqhZF0+mSuOfVahubUCyIFFkvcuwqzEq5IGzUbxsLZIg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265395},"main":"dist/index.cjs","type":"commonjs","types":"dist/types/index.d.ts","unpkg":"dist/index.umd.min.js","module":"dist/index.mjs","engines":{"npm":">=9","node":">=18"},"exports":{".":{"import":{"types":"./dist/types/index.d.mts","default":"./dist/index.mjs","types@<4.7":"./dist/types-ts4.2/index.d.mts"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/index.cjs","types@<4.7":"./dist/types-ts4.2/index.d.ts"}}},"gitHead":"17debd83ea144e803b99804d93e63d83291e505c","scripts":{"lint":"eslint .","test":"jest --colors","build":"rimraf dist && rollup --config ./rollup.config.mjs","check":"tsc --noEmit --project ./tsconfig.prod.json","format":"eslint --fix .","lint:src":"eslint ./src","format:src":"eslint --fix ./src","test:watch":"jest --colors --watch"},"_npmUser":{"name":"busybus","email":"busybus8@proton.me"},"jsdelivr":"dist/index.umd.min.js","repository":{"url":"git+https://github.com/cancjs/canc.git","type":"git","directory":"packages/canc-axios"},"_npmVersion":"11.6.3","description":"Cancelable promise adapter for axios.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.1","publishConfig":{"access":"public"},"typesVersions":{"<4.7":{"dist/types/*":["dist/types-ts4.2/*"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"axios":"1.16.0","axios-legacy":"npm:axios@0.22.0","@cancjs/promise":"*","@cancjs/toolbox":"*"},"peerDependencies":{"axios":">=0.22","@cancjs/promise":">=1.0.0","@cancjs/toolbox":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/axios_1.0.0-beta.18_1785833201972_0.33255322200727266","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.19":{"name":"@cancjs/axios","version":"1.0.0-beta.19","keywords":["axios","cancel","cancelable","abort","promise"],"author":{"name":"bisubus"},"license":"MIT","_id":"@cancjs/axios@1.0.0-beta.19","maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"homepage":"https://github.com/cancjs/canc/tree/master/packages/canc-axios#readme","bugs":{"url":"https://github.com/cancjs/canc/issues"},"dist":{"shasum":"f9e46593ff9b24027bb240361dcb7bb602d530e9","tarball":"https://registry.npmjs.org/@cancjs/axios/-/axios-1.0.0-beta.19.tgz","fileCount":151,"integrity":"sha512-DD5QKa6YZkL+0IV1tUBpaDCe8qB9tRFJ07QVRxJUTWSQRzEASX08cpUorf3TbqUKri+2VLFuxVV21S9LFO4ODw==","signatures":[{"sig":"MEYCIQCAFNEDi892pJVLMdTZszGp9yLA7qRdn9khVhdUNTF3ZQIhALIyUL/9E6O3ohxOaVamV7MltUTFoBtCnZ5/aDn+AdmW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":504329},"main":"dist/index.cjs","type":"commonjs","types":"dist/types/index.d.ts","unpkg":"dist/index.umd.min.js","module":"dist/index.mjs","engines":{"npm":">=9","node":">=18"},"exports":{".":{"import":{"types":"./dist/types/index.d.mts","default":"./dist/index.mjs","types@<4.7":"./dist/types-ts4.2/index.d.mts"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/index.cjs","types@<4.7":"./dist/types-ts4.2/index.d.ts"}}},"gitHead":"e4a4191717ce108afb9e105063ec59a6d056b6b1","scripts":{"lint":"eslint .","test":"jest --colors","build":"rimraf dist && rollup --config ./rollup.config.mjs","check":"tsc --noEmit --project ./tsconfig.prod.json","format":"eslint --fix .","lint:src":"eslint ./src","format:src":"eslint --fix ./src","test:watch":"jest --colors --watch"},"_npmUser":{"name":"busybus","email":"busybus8@proton.me"},"jsdelivr":"dist/index.umd.min.js","repository":{"url":"git+https://github.com/cancjs/canc.git","type":"git","directory":"packages/canc-axios"},"_npmVersion":"11.6.3","description":"Cancelable promise adapter for axios.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.1","publishConfig":{"access":"public"},"typesVersions":{"<4.7":{"dist/types/*":["dist/types-ts4.2/*"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"axios":"1.16.0","axios-legacy":"npm:axios@0.22.0","@cancjs/promise":"*","@cancjs/toolbox":"*"},"peerDependencies":{"axios":">=0.22","@cancjs/promise":">=1.0.0","@cancjs/toolbox":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/axios_1.0.0-beta.19_1785840143713_0.5466451503194836","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.20":{"name":"@cancjs/axios","version":"1.0.0-beta.20","keywords":["axios","cancel","cancelable","abort","promise"],"author":{"name":"bisubus"},"license":"MIT","_id":"@cancjs/axios@1.0.0-beta.20","maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"homepage":"https://github.com/cancjs/canc/tree/master/packages/canc-axios#readme","bugs":{"url":"https://github.com/cancjs/canc/issues"},"dist":{"shasum":"f5a429ddfe20182a22d4724ca3983f043508a4e1","tarball":"https://registry.npmjs.org/@cancjs/axios/-/axios-1.0.0-beta.20.tgz","fileCount":155,"integrity":"sha512-Q+oRmnYiwsmv22Y7aQ/BTHTFsm+KM5jg1ww3o6PxHSll/Af6vxK2WrHTcrOqKxJKWd4jt5j1PYdPc+4KT0hv2A==","signatures":[{"sig":"MEUCIQDFg2h8YDGIkrCGbU+/vzxrUGg9Y4OYZyeJYYpMFewjNwIgVyvd52BwO5/9eLo7k+yOsYvah9QkV2+BFZKiQs6/Rm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":508131},"main":"dist/index.cjs","type":"commonjs","types":"dist/types/index.d.ts","unpkg":"dist/index.umd.min.js","module":"dist/index.mjs","engines":{"npm":">=9","node":">=18"},"exports":{".":{"import":{"types":"./dist/types/index.d.mts","default":"./dist/index.mjs","types@<4.7":"./dist/types-ts4.2/index.d.mts"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/index.cjs","types@<4.7":"./dist/types-ts4.2/index.d.ts"}}},"gitHead":"3fcdda94f6abbb8e1eb0cb8c27b14e2f4386faed","scripts":{"lint":"eslint .","test":"jest --colors","build":"rimraf dist && rollup --config ./rollup.config.mjs","check":"tsc --noEmit --project ./tsconfig.prod.json","format":"eslint --fix .","lint:src":"eslint ./src","format:src":"eslint --fix ./src","test:watch":"jest --colors --watch"},"_npmUser":{"name":"busybus","email":"busybus8@proton.me"},"jsdelivr":"dist/index.umd.min.js","repository":{"url":"git+https://github.com/cancjs/canc.git","type":"git","directory":"packages/canc-axios"},"_npmVersion":"11.6.3","description":"Cancelable promise adapter for axios.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.1","publishConfig":{"access":"public"},"typesVersions":{"<4.7":{"dist/types/*":["dist/types-ts4.2/*"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"axios":"1.16.0","axios-legacy":"npm:axios@0.22.0","@cancjs/promise":"*","@cancjs/toolbox":"*"},"peerDependencies":{"axios":">=0.22","@cancjs/promise":">=1.0.0","@cancjs/toolbox":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/axios_1.0.0-beta.20_1785873829807_0.44957998384913433","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@cancjs/axios","version":"1.0.0","description":"Cancelable promise adapter for axios.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/cancjs/canc.git","directory":"packages/canc-axios"},"homepage":"https://github.com/cancjs/canc/tree/master/packages/canc-axios#readme","bugs":{"url":"https://github.com/cancjs/canc/issues"},"author":{"name":"bisubus"},"type":"commonjs","exports":{".":{"import":{"types@<4.7":"./dist/types-ts4.2/index.d.mts","types":"./dist/types/index.d.mts","default":"./dist/index.mjs"},"require":{"types@<4.7":"./dist/types-ts4.2/index.d.ts","types":"./dist/types/index.d.ts","default":"./dist/index.cjs"}}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/types/index.d.ts","sideEffects":false,"engines":{"node":">=18","npm":">=9"},"publishConfig":{"access":"public"},"scripts":{"build":"rimraf dist && rollup --config ./rollup.config.mjs","check":"tsc --noEmit --project ./tsconfig.prod.json","format:src":"eslint --fix ./src","format":"eslint --fix .","lint:src":"eslint ./src","lint":"eslint .","test":"jest --colors","test:watch":"jest --colors --watch"},"keywords":["axios","cancel","cancelable","abort","promise"],"devDependencies":{"@cancjs/promise":"*","@cancjs/toolbox":"*","axios":"1.16.0","axios-legacy":"npm:axios@0.22.0"},"peerDependencies":{"@cancjs/promise":">=1.0.0","@cancjs/toolbox":">=1.0.0","axios":">=0.22"},"unpkg":"dist/index.umd.min.js","jsdelivr":"dist/index.umd.min.js","typesVersions":{"<4.7":{"dist/types/*":["dist/types-ts4.2/*"]}},"gitHead":"3fcdda94f6abbb8e1eb0cb8c27b14e2f4386faed","_id":"@cancjs/axios@1.0.0","_nodeVersion":"22.23.1","_npmVersion":"12.0.2","dist":{"integrity":"sha512-QDmmsGuVBtxUSdlelFowuN7Mbl8v+AgHXJ4suNtb1NT8gX1ZYkMHNoDoovYdkGhvm5/ESmMQIvGS977+ImMNWQ==","shasum":"9df5a33b4122011ce7c99ae9912e2b06d2acdc06","tarball":"https://registry.npmjs.org/@cancjs/axios/-/axios-1.0.0.tgz","fileCount":155,"unpackedSize":508125,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cancjs%2faxios@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFju/ELp9oAmkmo4cY7L4cz5B/+GJsy2Vo/mRdIkBRo1AiAD5+8Dox5K1u2vtNmv0FK1puh/CNmCXssQbN0YRiFlCw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c6833ec-a762-421c-aea8-42699f4aa09d"}},"directories":{},"maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/axios_1.0.0_1785883286212_0.03617980658676068"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-03T22:18:44.057Z","modified":"2026-08-04T22:41:26.724Z","1.0.0-beta.17":"2026-08-03T22:18:44.381Z","1.0.0-beta.18":"2026-08-04T08:46:42.114Z","1.0.0-beta.19":"2026-08-04T10:42:23.862Z","1.0.0-beta.20":"2026-08-04T20:03:49.963Z","1.0.0":"2026-08-04T22:41:26.361Z"},"bugs":{"url":"https://github.com/cancjs/canc/issues"},"author":{"name":"bisubus"},"license":"MIT","homepage":"https://github.com/cancjs/canc/tree/master/packages/canc-axios#readme","keywords":["axios","cancel","cancelable","abort","promise"],"repository":{"type":"git","url":"git+https://github.com/cancjs/canc.git","directory":"packages/canc-axios"},"description":"Cancelable promise adapter for axios.","maintainers":[{"name":"busybus","email":"busybus8@proton.me"}],"readme":"<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/cancjs/canc/master/assets/canc-logo.svg\" style=\"width: 400px; max-width: 100%; height: auto;\" title=\"canc &#x2BBF; A crafty foundation for cancelable promises\" alt=\"canc &#x2BBF; A crafty foundation for cancelable promises\">\n  <div>&nbsp;</div>\n</div>\n\n<h1 align=\"center\">@cancjs/axios</h1>\n\n<p align=\"center\">\nAxios instances whose request methods return cancelable promises.\n</p>\n\n---\n\n## Introduction\n\nA drop-in replacement for the axios default export whose request methods return a\n`CancelablePromise`. Calling `.cancel()` aborts the request and rejects with a `CancelError`, so\ncancellation reads as an ordinary rejection in `try`/`catch`.\n\nThe wrapper holds no state of its own. It forwards to a real axios instance, so config merging,\nheader handling, interceptor chains and `create()` seeding are still axios's own code.\n\n## Features\n\n- same call shapes and signatures as axios, including the full `AxiosResponse` result\n- `.cancel()` aborts the in-flight request through an AbortSignal\n- cancellation is supported through the full request lifecycle, including interceptors\n- a caller-supplied `config.signal` also rejects with a `CancelError`\n- instances from `create()` are wrapped too, with their own defaults and interceptors\n- works with the xhr, http and fetch adapters, and with axios 0.22 and up\n- no Proxy, ES5-friendly output\n\n## Getting Started\n\n### Installation\n\n```sh\nnpm install @cancjs/axios axios @cancjs/promise\n```\n\n`axios` (0.22 or later) and `@cancjs/promise` are peer dependencies. This package is ecosystem\ntier: a minor release can carry a breaking change, so pin it with a tilde, `~1.4` (pin the minor, not\n`~1.x`, which npm expands to the same range as `^1`), rather than the default caret. See\n[Versioning](https://github.com/cancjs/canc/blob/master/docs/versioning.md) for the full policy.\n\n### Usage\n\n```js\nimport cancelableAxios from '@cancjs/axios';\nimport { isCancelError } from '@cancjs/promise';\n\nconst promise = cancelableAxios.get('/issues', { params: { q: 'bug' } });\n\npromise.cancel('superseded');\n\ntry {\n  const response = await promise;\n  console.log(response.data);\n} catch (error) {\n  if (isCancelError(error)) {\n    // the request was aborted\n  }\n}\n```\n\nAn instance keeps its own defaults and interceptors, exactly like `axios.create()`:\n\n```js\nconst api = cancelableAxios.create({ baseURL: 'https://api.example.com' });\n\napi.defaults.headers.common['Authorization'] = 'Bearer token';\n```\n\nThe default export and the named `cancelableAxios` export are the same binding, so\n`import cancelableAxios from '@cancjs/axios'` and `import { cancelableAxios } from '@cancjs/axios'`\ngive you the identical object. Pick whichever reads better next to your existing axios import.\n\nAn axios instance built elsewhere can be wrapped instead:\n\n```js\nimport axios from 'axios';\nimport { cancelableAxios } from '@cancjs/axios';\n\nconst axiosInstance = axios.create({ baseURL: 'https://api.example.com' });\nconst api = cancelableAxios.wrap(axiosInstance);\n```\n\nIn a coroutine the request joins the surrounding cancellation:\n\n```ts\nimport * as canc from '@cancjs/coroutine';\n\nconst loadIssues = canc.async(function* (query: string) {\n  const response = yield* canc.await(\n    api.get('/issues', { params: { q: query } })\n  );\n  return response.data;\n});\n\nconst pending = loadIssues('bug');\npending.cancel(); // aborts the request\n```\n\n## How It Works\n\nEach request method (`get`, `post`, `put` and the rest) creates its own `AbortController`, merges\nthe signal into the request config, and returns a `CancelablePromise`. Canceling the promise\naborts that controller, so axios handles the transport-level abort through whichever adapter it is\nusing (xhr, http or fetch).\n\nCancellation is supported through the full lifecycle of a request, not just the network call.\nWhen a request is canceled, interceptors that are still running are canceled too. An interceptor\nthat returns a cancelable promise has that promise canceled along with the request, so work\nstarted in an interceptor (a token refresh, a retry) does not keep going after the caller has\nwalked away.\n\nAn existing `config.signal` from the caller is composed with the internal one. Either source can\nabort the request, and in both cases the promise rejects with a `CancelError`, normalizing the\nerror regardless of which signal aborted.\n\nThe wrapper holds no state beyond what axios itself holds. `defaults` on the wrapper is a live\naccessor onto the underlying instance's defaults, and `interceptors` is a facade over the real\ninterceptor managers, so IDs stay valid and interceptors added directly on the underlying instance\nstill run. `create()` returns another wrapped instance with its own defaults and interceptors, and\n`wrap()` wraps an existing axios instance without creating a new one.\n\n## Description\n\n### Interceptors\n\nInterceptors receive a second argument carrying the cancellation context of the request they run\nfor. The context exposes `signal`, `isCanceled()`, `cancel()` and `link(promise)`:\n\n```js\napi.interceptors.request.use((config, ctx) => {\n  if (ctx.isCanceled()) {\n    return config;\n  }\n\n  return refreshToken({ signal: ctx.signal }).then((token) => {\n    config.headers.Authorization = `Bearer ${token}`;\n    return config;\n  });\n});\n```\n\nA cancelable promise returned from an interceptor is canceled along with the request. In the\nexample above, if the request is canceled while the token refresh is in flight, the refresh\npromise is canceled too. `ctx.link(promise)` explicitly ties any cancelable promise to the\nrequest's lifecycle, so work started outside the return path is still canceled with the request.\n\n### Combinators\n\n`all` differs from `axios.all` on purpose: it builds a `CancelablePromise`, so canceling one\nrequest rejects the aggregate and cancels the rest. `spread` is unchanged.\n\n### Accessing the underlying instance\n\nThe wrapped instance is reachable as `.axios` when a plain native promise is needed, for example\nwhen handing a request to code that does not understand cancellation.\n\n## API\n\n`cancelableAxios` is both the default export and a named export (both references point to the same instance). It mirrors the full axios\ninterface: `request`, `get`, `delete`, `head`, `options`, `post`, `put`, `patch`, `getUri`,\n`create`, `defaults`, `interceptors`, `all`, `spread`.\n\n`cancelableAxios.create(config?)` returns a new wrapped instance.\n\n`cancelableAxios.wrap(axiosInstance)` and `wrapAxios(axiosInstance)` wrap an existing axios instance. The argument is\nstructurally typed, so it accepts instances from any axios version without type conflicts.\n\n`CancelScope` is the per-request cancellation scope class managing request lifecycle and interceptor promises.\n\n`.axios` on any wrapped instance returns the underlying axios instance.\n\nMembers axios added after 0.22 (`postForm`, `putForm`, `patchForm`, `AxiosHeaders`, `HttpStatusCode` and the rest) plus standard axios exports (`AxiosError`, `CancelToken`, `CanceledError`, `isAxiosError`, `VERSION`, `formToJSON`, `getAdapter`, `mergeConfig`, `toFormData`) are re-exported.\n\n## Compatibility\n\nAxios 0.22 and later, which is when signal support was added. Node.js 18 and later, current\nbrowsers. Everything else follows\n[`@cancjs/promise`](https://github.com/cancjs/canc/tree/master/packages/canc-promise#compatibility).\n\n## Documentation\n\n- [`@cancjs/promise`](https://github.com/cancjs/canc/tree/master/packages/canc-promise) for the\n  cancellation model\n- [Coroutines](https://github.com/cancjs/canc/tree/master/packages/canc-coroutine) for using\n  axios inside a cancelable flow\n- [Examples](https://github.com/cancjs/canc/tree/master/examples): `app-axios` for a side-by-side\n  comparison against a manual request registry\n- [Repository](https://github.com/cancjs/canc) for the ecosystem overview\n\n## Contributing\n\nYou are welcome to participate through issues and pull requests!\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}