Home / npm packages / eslint-plugin-node

eslint-plugin-node source code

Every file of eslint-plugin-node@11.1.0 as published on npm: 69 files, 269 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), child_process, process.env, the fs module.

What eslint-plugin-node uses

APIIn eslint-plugin-node
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 1 file
e.g. lib/rules/no-unsupported-features.js
See the lines
child_process
starts other programs
Yes: 4 files
e.g. lib/rules/file-extension-in-import.js
See the lines
process.env
reads environment variables
Yes: 1 file
e.g. lib/rules/no-process-env.js
See the lines
the fs module
reads and writes files
Yes: 7 files
e.g. lib/util/exists.js
See the lines
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
lib/rules/no-unsupported-features.js44 KB
lib/rules/no-unsupported-features/es-syntax.js23 KB
lib/rules/no-deprecated-api.js23 KB
lib/rules/no-unsupported-features/node-builtins.js15 KB
README.md9.4 KB
lib/rules/exports-style.js8.4 KB
lib/rules/no-mixed-requires.js7.4 KB
lib/rules/callback-return.js6.6 KB
lib/rules/no-path-concat.js6.4 KB
lib/rules/no-unsupported-features/es-builtins.js6.0 KB
lib/rules/shebang.js5.6 KB
lib/util/get-npmignore.js5.3 KB
lib/util/get-convert-path.js5.3 KB
lib/rules/no-hide-core-modules.js4.9 KB
lib/rules/process-exit-as-throw.js4.7 KB
lib/rules/file-extension-in-import.js4.7 KB
lib/util/check-unsupported-builtins.js3.5 KB
lib/util/check-restricted.js3.3 KB
lib/index.js3.3 KB
lib/rules/no-unpublished-bin.js3.0 KB
lib/rules/handle-callback-err.js3.0 KB
lib/rules/global-require.js2.6 KB
lib/util/check-publish.js2.5 KB
lib/rules/prefer-promises/dns.js2.4 KB
lib/rules/no-callback-literal.js2.3 KB
lib/util/import-target.js2.3 KB
lib/configs/_commons.js2.3 KB
lib/rules/no-exports-assign.js2.3 KB
lib/rules/prefer-promises/fs.js2.3 KB
lib/rules/no-restricted-require.js2.1 KB

Questions

How many files are in eslint-plugin-node?

Version 11.1.0 of eslint-plugin-node publishes 69 files of source, 269 KB in all, not counting images, fonts and source maps.

Does eslint-plugin-node use eval?

No: eslint-plugin-node doesn't call eval() anywhere in its published files.

Does eslint-plugin-node start other programs?

Yes: eslint-plugin-node uses child_process in 4 of its files.

Does eslint-plugin-node run an install script?

No: eslint-plugin-node 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