Home / npm packages / resolve
Every file of resolve@1.22.12 as published on npm: 92 files, 165 KB. Search them by exact text or regex, in milliseconds.
It uses: child_process, process.env, the fs module.
| API | In resolve | |
|---|---|---|
| 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 | Yes: 1 file e.g. lib/core.json | See the lines |
| process.env reads environment variables | Yes: 3 files e.g. bin/resolve | See the lines |
| the fs module reads and writes files | Yes: 9 files e.g. bin/resolve | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| 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 |
|---|---|
test/resolver_sync.js | 21 KB |
test/resolver.js | 20 KB |
readme.markdown | 12 KB |
lib/async.js | 12 KB |
test/mock.js | 11 KB |
lib/sync.js | 7.2 KB |
test/mock_sync.js | 6.6 KB |
test/symlinks.js | 6.5 KB |
lib/core.json | 6.0 KB |
test/node-modules-paths.js | 5.1 KB |
test/home_paths.js | 4.5 KB |
.github/THREAT_MODEL.md | 4.2 KB |
test/home_paths_sync.js | 3.8 KB |
.github/INCIDENT_RESPONSE_PROCESS.md | 3.8 KB |
test/homedir.js | 3.1 KB |
test/core.js | 3.1 KB |
test/pathfilter.js | 2.2 KB |
test/node_path.js | 2.1 KB |
package.json | 2.1 KB |
test/shadowed_core.js | 1.8 KB |
.eslintrc | 1.7 KB |
test/default_paths.js | 1.6 KB |
eslint.config.mjs | 1.6 KB |
test/module_dir.js | 1.6 KB |
bin/resolve | 1.5 KB |
test/filter_sync.js | 1.4 KB |
lib/node-modules-paths.js | 1.3 KB |
test/resolver/multirepo/packages/package-a/index.js | 1.3 KB |
.claude/notes.md | 1.2 KB |
LICENSE | 1.1 KB |
Version 1.22.12 of resolve publishes 92 files of source, 165 KB in all, not counting images, fonts and source maps.
No: resolve doesn't call eval() anywhere in its published files.
Yes: resolve uses child_process in 1 of its files.
No: resolve 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.