MCPcopy Index your code
hub / github.com/developit/redaxios

github.com/developit/redaxios @0.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.5.1 ↗ · + Follow
4 symbols 9 edges 3 files 3 documented · 75% 10 cross-repo links updated 2y ago0.5.0 · 2022-04-30★ 4,88027 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

redaxios

Axios has a great API that developers love. Redaxios provides that API in 800 bytes, using native fetch().

For those searching for ways to shave a few kilobytes off of their bundles, that's less than 1/5th of the size. This is made possible by using the browser's native Fetch API, which is supported in all modern browsers and polyfilled by most tools including Next.js, Create React App and Preact CLI.

Can I just use Axios?

Yes! Axios is an excellent module and you should use it! Redaxios exists so that you can use that same API in cases where it's difficult to justify the dependency. Instead of having to choose between Axios and Fetch, Redaxios provides a middle-ground between the two.

Usage

import axios from 'redaxios';
// use as you would normally

Refer to the Axios Documentation.

Core symbols most depended-on inside this repo

redaxios
called by 7
src/index.js
deepMerge
called by 2
src/index.js
create
called by 1
src/index.js

Shape

Function 4

Languages

TypeScript100%

Modules by API surface

src/index.js3 symbols
test/index.test.js1 symbols

Dependencies from manifests, versioned

@types/jest26.0.4 · 1×
core-js2.6.11 · 1×
eslint7.5.0 · 1×
eslint-config-developit1.2.0 · 1×
file-loader5.0.2 · 1×
isomorphic-fetch2.2.1 · 1×
karmatic2.1.0 · 1×
microbundle0.11.0 · 1×
npm-merge-driver-install1.1.1 · 1×
prettier2.0.5 · 1×
typescript3.9.7 · 1×

For agents

$ claude mcp add redaxios \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact