Home / npm packages / jsdom
Every file of jsdom@30.1.2 as published on npm: 665 files, 3.8 MB. Search them by exact text or regex, in milliseconds.
It uses: eval(), new Function(), the fs module, fetch(), XMLHttpRequest, crypto, document.cookie.
| API | In jsdom | |
|---|---|---|
| eval() runs a string as JavaScript | Yes: 3 files e.g. lib/jsdom/living/window/navigation.js | See the lines |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 1 file e.g. lib/jsdom/living/helpers/create-event-accessor.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | No | Who does |
| the fs module reads and writes files | Yes: 3 files e.g. lib/api.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | Yes: 5 files e.g. lib/jsdom/living/nodes/HTMLFrameElement-impl.js | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 11 files e.g. lib/jsdom/living/fetch/header-list.js | See the lines |
| crypto hashes, encrypts or makes random numbers | Yes: 1 file e.g. lib/jsdom/living/crypto/Crypto-impl.js | See the lines |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | Yes: 1 file e.g. README.md | See the lines |
| 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.
Version 30.1.2 of jsdom publishes 665 files of source, 3.8 MB in all, not counting images, fonts and source maps.
Yes: jsdom calls eval() in 3 of its files.
No: jsdom doesn't use child_process anywhere in its published files.
No: jsdom 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.