Home / npm packages / mongodb
Every file of mongodb@7.7.0 as published on npm: 270 files, 2.8 MB. Search them by exact text or regex, in milliseconds.
It uses: child_process, process.env, the fs module, http / https, fetch(), crypto.
| API | In mongodb | |
|---|---|---|
| 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: 3 files e.g. lib/client-side-encryption/mongocryptd_manager.js | See the lines |
| process.env reads environment variables | Yes: 14 files e.g. lib/cmap/auth/aws_temporary_credentials.js | See the lines |
| the fs module reads and writes files | Yes: 11 files e.g. lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 2 files e.g. lib/utils.js | See the lines |
| fetch() makes HTTP requests | Yes: 2 files e.g. src/mongo_types.ts | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | Yes: 4 files e.g. lib/cmap/auth/aws4.js | See the lines |
| 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 |
|---|---|
mongodb.d.ts | 356 KB |
src/mongo_client.ts | 50 KB |
lib/sessions.js | 47 KB |
src/sessions.ts | 46 KB |
src/collection.ts | 46 KB |
lib/connection_string.js | 44 KB |
lib/error.js | 44 KB |
src/error.ts | 42 KB |
src/utils.ts | 42 KB |
lib/utils.js | 41 KB |
src/connection_string.ts | 41 KB |
src/cursor/abstract_cursor.ts | 40 KB |
src/bulk/common.ts | 40 KB |
src/change_stream.ts | 39 KB |
src/client-side-encryption/client_encryption.ts | 38 KB |
src/mongo_logger.ts | 36 KB |
lib/cursor/abstract_cursor.js | 36 KB |
src/sdam/topology.ts | 35 KB |
lib/bulk/common.js | 34 KB |
lib/collection.js | 34 KB |
lib/sdam/topology.js | 32 KB |
src/cmap/connection.ts | 31 KB |
lib/mongo_logger.js | 29 KB |
lib/mongo_client.js | 29 KB |
lib/client-side-encryption/client_encryption.js | 27 KB |
lib/cmap/connection.js | 27 KB |
src/cmap/connection_pool.ts | 26 KB |
src/cmap/commands.ts | 26 KB |
lib/index.js | 26 KB |
lib/cmap/commands.js | 24 KB |
Version 7.7.0 of mongodb publishes 270 files of source, 2.8 MB in all, not counting images, fonts and source maps.
No: mongodb doesn't call eval() anywhere in its published files.
Yes: mongodb uses child_process in 3 of its files.
No: mongodb 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.