▍ 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
16.22 kB
verdict small
brotli is 20% of minified unpacks 5.0× on the wire
- minified
- 81.90 kB
- saved on the wire
- 65.68 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%14.17 kB br· 40.81 kB min
- ./
dist/browser/axios.cjs99%14.01 kB br· 40.29 kB min - ./
dist/node/axios.cjs99%14.01 kB br· 40.29 kB min - ./
lib/adapters/xhr.js58%8.20 kB br· 22.59 kB min - ./
unsafe/adapters/xhr.js58%8.20 kB br· 22.59 kB min - ./
unsafe/helpers/buildURL.js39%5.47 kB br· 14.80 kB min - ./
unsafe/core/settle.js32%4.60 kB br· 12.20 kB min - ./
unsafe/utils.js18%2.48 kB br· 5.94 kB min - ./
unsafe/core/buildFullPath.js1%150 B br· 238 B 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
· follow-redirects @1.16.0
· form-data @4.0.5
· https-proxy-agent @5.0.1
· proxy-from-env @2.1.0
▍ 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.