▍ file no. 001 / npm ▍weigh-in
axios TS
Promise based HTTP client for the browser and node.js
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
18.13 kB
verdict small
brotli is 19% of minified unpacks 5.3× on the wire
- minified
- 93.69 kB
- saved on the wire
- 75.56 kB
▍field notes
- side effects
- none (tree-shakeable)
- module formats
- ESM + CJS
- exports map
- present
- types
- bundled (own .d.ts)
- peer deps
- none
▍ the roast
AI · freshly written
▍ incoming dispatch · priority: hot
the wire is humming…
- . main entry100%15.82 kB br· 46.71 kB min
- ./
dist/node/axios.cjs99%15.71 kB br· 46.18 kB min - ./
dist/browser/axios.cjs99%15.71 kB br· 46.18 kB min - ./
lib/adapters/xhr.js59%9.26 kB br· 26.31 kB min - ./
unsafe/adapters/xhr.js59%9.26 kB br· 26.31 kB min - ./
unsafe/helpers/buildURL.js39%6.13 kB br· 16.92 kB min - ./
unsafe/core/buildFullPath.js34%5.43 kB br· 14.71 kB min - ./
unsafe/core/settle.js33%5.15 kB br· 14.02 kB min - ./
unsafe/utils.js17%2.66 kB br· 6.46 kB min - ./
unsafe/helpers/combineURLs.js1%123 B br· 150 B min - ./
unsafe/helpers/isAbsoluteURL.js1%87 B br· 102 B min - ./
lib/adapters/http.js0%36 B br· 32 B min - ./
unsafe/adapters/http.js0%36 B br· 32 B min
▍ dependencies
4 direct click to expand · hover for details
· form-data @4.0.6
· proxy-from-env @2.1.0
· follow-redirects @1.16.0
· https-proxy-agent @5.0.1
▍ see also
outbound
▍another case
drop a package
Got a heavier sin to confess? Roast another package — or share this one to make a friend reconsider their dep tree.