Home / npm packages / eslint
Every file of eslint@10.12.0 as published on npm: 421 files, 2.9 MB. Search them by exact text or regex, in milliseconds.
It uses: eval(), new Function(), child_process, process.env, the fs module.
| API | In eslint | |
|---|---|---|
| eval() runs a string as JavaScript | Yes: 3 files e.g. lib/rules/no-eval.js | See the lines |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 2 files e.g. lib/rules/utils/ast-utils.js | See the lines |
| child_process starts other programs | Yes: 1 file e.g. lib/rules/no-mixed-requires.js | See the lines |
| process.env reads environment variables | Yes: 4 files e.g. lib/eslint/eslint-helpers.js | See the lines |
| the fs module reads and writes files | Yes: 8 files e.g. lib/cli.js | 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.
Version 10.12.0 of eslint publishes 421 files of source, 2.9 MB in all, not counting images, fonts and source maps.
Yes: eslint calls eval() in 3 of its files.
Yes: eslint uses child_process in 1 of its files.
No: eslint 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.