▍ 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
17.32 kB
verdict small
brotli is 19% of minified unpacks 5.3× on the wire
- minified
- 88.98 kB
- saved on the wire
- 71.66 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.10 kB br· 44.35 kB min
- ./
dist/node/axios.cjs99%14.93 kB br· 43.82 kB min - ./
dist/browser/axios.cjs99%14.93 kB br· 43.82 kB min - ./
lib/adapters/xhr.js58%8.73 kB br· 24.48 kB min - ./
unsafe/adapters/xhr.js58%8.73 kB br· 24.48 kB min - ./
unsafe/helpers/buildURL.js38%5.73 kB br· 15.67 kB min - ./
unsafe/core/buildFullPath.js32%4.89 kB br· 13.04 kB min - ./
unsafe/core/settle.js32%4.76 kB br· 12.73 kB min - ./
unsafe/utils.js17%2.63 kB br· 6.38 kB min - ./
unsafe/helpers/isAbsoluteURL.js1%87 B br· 102 B min - ./
unsafe/helpers/combineURLs.js0%70 B br· 96 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.