Home / npm packages / pg
Every file of pg@8.23.1 as published on npm: 20 files, 103 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env, crypto.
| API | In pg | |
|---|---|---|
| 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: 3 files e.g. lib/connection-parameters.js | See the lines |
| the fs module reads and writes files | No | Who does |
| 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 | Yes: 1 file e.g. lib/crypto/utils.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 |
|---|---|
lib/client.js | 26 KB |
lib/native/client.js | 12 KB |
lib/crypto/sasl.js | 9.9 KB |
lib/query.js | 7.7 KB |
lib/connection.js | 6.4 KB |
lib/connection-parameters.js | 6.0 KB |
lib/utils.js | 5.8 KB |
lib/native/query.js | 4.8 KB |
README.md | 4.5 KB |
lib/crypto/cert-signatures.js | 4.1 KB |
lib/result.js | 2.8 KB |
lib/crypto/utils.js | 2.6 KB |
lib/defaults.js | 2.6 KB |
lib/stream.js | 2.1 KB |
lib/index.js | 1.8 KB |
package.json | 1.7 KB |
LICENSE | 1.1 KB |
lib/type-overrides.js | 770 B |
esm/index.mjs | 579 B |
lib/native/index.js | 50 B |
Version 8.23.1 of pg publishes 20 files of source, 103 KB in all, not counting images, fonts and source maps.
No: pg doesn't call eval() anywhere in its published files.
No: pg doesn't use child_process anywhere in its published files.
No: pg 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.