Home / npm packages / superagent
Every file of superagent@10.4.1 as published on npm: 21 files, 606 KB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), process.env, the fs module, http / https, XMLHttpRequest.
| API | In superagent | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 2 files e.g. dist/superagent.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 1 file e.g. lib/node/index.js | See the lines |
| the fs module reads and writes files | Yes: 1 file e.g. lib/node/index.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 1 file e.g. lib/node/index.js | See the lines |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 3 files e.g. lib/client.js | 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 |
|---|---|
lib/node/index.js | 171 KB |
dist/superagent.js | 115 KB |
lib/client.js | 89 KB |
lib/request-base.js | 66 KB |
dist/superagent.min.js | 53 KB |
lib/node/http2wrapper.js | 21 KB |
lib/node/agent.js | 19 KB |
lib/utils.js | 13 KB |
lib/node/response.js | 12 KB |
README.md | 11 KB |
lib/response-base.js | 10 KB |
lib/node/unzip.js | 7.4 KB |
package.json | 3.9 KB |
lib/node/parsers/json.js | 3.6 KB |
lib/agent-base.js | 3.0 KB |
lib/node/decompress.js | 2.1 KB |
lib/node/parsers/urlencoded.js | 1.8 KB |
lib/node/parsers/index.js | 1.6 KB |
lib/node/parsers/image.js | 1.3 KB |
LICENSE | 1.1 KB |
lib/node/parsers/text.js | 1.1 KB |
Version 10.4.1 of superagent publishes 21 files of source, 606 KB in all, not counting images, fonts and source maps.
No: superagent doesn't call eval() anywhere in its published files.
No: superagent doesn't use child_process anywhere in its published files.
No: superagent 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.