Home / npm packages / eslint-scope

eslint-scope source code

Every file of eslint-scope@9.1.2 as published on npm: 15 files, 173 KB. Search them by exact text or regex, in milliseconds.

It uses: eval().

What eslint-scope uses

APIIn eslint-scope
eval()
runs a string as JavaScript
Yes: 5 files
e.g. dist/eslint-scope.cjs
See the lines
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
dist/eslint-scope.cjs65 KB
lib/index.d.cts27 KB
lib/scope.js20 KB
lib/referencer.js18 KB
README.md11 KB
lib/scope-manager.js7.4 KB
lib/index.js6.3 KB
lib/pattern-visitor.js4.5 KB
lib/reference.js4.3 KB
lib/variable.js3.0 KB
lib/definition.js2.8 KB
package.json1.7 KB
LICENSE1.4 KB
lib/assert.js452 B
lib/index.d.ts117 B

Questions

How many files are in eslint-scope?

Version 9.1.2 of eslint-scope publishes 15 files of source, 173 KB in all, not counting images, fonts and source maps.

Does eslint-scope use eval?

Yes: eslint-scope calls eval() in 5 of its files.

Does eslint-scope start other programs?

No: eslint-scope doesn't use child_process anywhere in its published files.

Does eslint-scope run an install script?

No: eslint-scope has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine