{"id":19556339,"url":"https://github.com/fiverr/axios-inherit","last_synced_at":"2025-04-26T22:33:01.637Z","repository":{"id":47682514,"uuid":"265475402","full_name":"fiverr/axios-inherit","owner":"fiverr","description":"👨‍👦 Add interceptor inheritance to axios","archived":false,"fork":false,"pushed_at":"2023-03-21T22:58:39.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-04-04T18:11:57.196Z","etag":null,"topics":["axios","inheritance","interceptors"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiverr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-20T06:43:46.000Z","updated_at":"2023-04-30T20:07:53.000Z","dependencies_parsed_at":"2024-06-19T15:01:07.175Z","dependency_job_id":"8006a53b-cb8f-4a4d-834d-f321a95171f9","html_url":"https://github.com/fiverr/axios-inherit","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.625,"last_synced_commit":"0be5acb136f49f33232e1d766bd5c409c2c3fb3f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiverr%2Faxios-inherit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiverr%2Faxios-inherit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiverr%2Faxios-inherit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiverr%2Faxios-inherit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiverr","download_url":"https://codeload.github.com/fiverr/axios-inherit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251063667,"owners_count":21530837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","inheritance","interceptors"],"created_at":"2024-11-11T04:37:36.807Z","updated_at":"2025-04-26T22:32:56.607Z","avatar_url":"https://github.com/fiverr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# axios-inherit [![](https://img.shields.io/circleci/build/github/fiverr/axios-inherit?style=flat-square)](https://circleci.com/gh/fiverr/axios-inherit) [![](https://img.shields.io/npm/v/axios-inherit.svg?style=flat-square)](https://www.npmjs.com/package/axios-inherit)\n\n👨‍👦 Add [interceptor](https://github.com/axios/axios#interceptors) inheritance to axios\n\n```js\nimport axios from 'axios'\nimport axiosInherit from 'axios-inherit'\n\naxiosInherit(axios)\n```\n\n1. \"Inherit\" any existing interceptors of global axios instance when creating a new axios instance.\n2. Apply new interceptors to existing instances when adding interceptors to global axios instance.\n3. Do the same for adding interceptors (\"use\") and removing them (\"eject\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiverr%2Faxios-inherit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiverr%2Faxios-inherit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiverr%2Faxios-inherit/lists"}