Home / npm packages / node-fetch
Every file of node-fetch@3.3.2 as published on npm: 17 files, 107 KB. Search them by exact text or regex, in milliseconds.
It uses: the fs module, http / https, fetch(), XMLHttpRequest.
| API | In node-fetch | |
|---|---|---|
| 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 | No | Who does |
| 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: 4 files e.g. src/headers.js | See the lines |
| fetch() makes HTTP requests | Yes: 3 files e.g. src/index.js | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 1 file e.g. README.md | See the lines |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| 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 |
|---|---|
README.md | 29 KB |
src/index.js | 13 KB |
src/utils/referrer.js | 12 KB |
src/body.js | 9.9 KB |
src/utils/multipart-parser.js | 9.6 KB |
src/request.js | 8.6 KB |
src/headers.js | 6.9 KB |
@types/index.d.ts | 6.6 KB |
src/response.js | 3.4 KB |
package.json | 3.0 KB |
src/utils/is.js | 2.2 KB |
LICENSE.md | 1.1 KB |
src/errors/fetch-error.js | 871 B |
src/errors/base.js | 346 B |
src/utils/get-search.js | 296 B |
src/utils/is-redirect.js | 229 B |
src/errors/abort-error.js | 218 B |
Version 3.3.2 of node-fetch publishes 17 files of source, 107 KB in all, not counting images, fonts and source maps.
No: node-fetch doesn't call eval() anywhere in its published files.
No: node-fetch doesn't use child_process anywhere in its published files.
No: node-fetch 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.