Home / npm packages / axios
Every file of axios@1.20.0 as published on npm: 87 files, 1.5 MB. Search them by exact text or regex, in milliseconds.
It uses: process.env, the fs module, http / https, XMLHttpRequest, crypto, document.cookie.
| API | In axios | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | No | Who does |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 2 files e.g. dist/node/axios.cjs | See the lines |
| the fs module reads and writes files | Yes: 1 file e.g. README.md | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 2 files e.g. dist/node/axios.cjs | See the lines |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 9 files e.g. dist/browser/axios.cjs | See the lines |
| crypto hashes, encrypts or makes random numbers | Yes: 2 files e.g. dist/node/axios.cjs | See the lines |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | Yes: 7 files e.g. dist/browser/axios.cjs | See the lines |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
dist/node/axios.cjs | 232 KB |
dist/axios.js | 207 KB |
dist/esm/axios.js | 162 KB |
dist/browser/axios.cjs | 161 KB |
CHANGELOG.md | 141 KB |
README.md | 108 KB |
dist/axios.min.js | 68 KB |
lib/adapters/http.js | 52 KB |
dist/esm/axios.min.js | 51 KB |
lib/utils.js | 31 KB |
index.d.cts | 24 KB |
index.d.ts | 23 KB |
lib/adapters/fetch.js | 22 KB |
MIGRATION_GUIDE.md | 22 KB |
lib/helpers/shouldBypassProxy.js | 14 KB |
lib/core/AxiosHeaders.js | 10 KB |
lib/adapters/xhr.js | 9.8 KB |
lib/core/Axios.js | 9.0 KB |
lib/helpers/toFormData.js | 7.7 KB |
lib/core/AxiosError.js | 7.0 KB |
package.json | 6.7 KB |
lib/core/mergeConfig.js | 5.8 KB |
lib/defaults/index.js | 5.0 KB |
lib/helpers/estimateDataURLDecodedBytes.js | 4.9 KB |
lib/core/InterceptorManager.js | 4.2 KB |
lib/helpers/AxiosTransformStream.js | 3.8 KB |
lib/helpers/resolveConfig.js | 3.6 KB |
lib/adapters/adapters.js | 3.5 KB |
lib/helpers/formDataToJSON.js | 3.5 KB |
lib/helpers/formDataToStream.js | 3.1 KB |
Version 1.20.0 of axios publishes 87 files of source, 1.5 MB in all, not counting images, fonts and source maps.
No: axios doesn't call eval() anywhere in its published files.
No: axios doesn't use child_process anywhere in its published files.
No: axios has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.