Home / npm packages / eslint-plugin-unicorn
Every file of eslint-plugin-unicorn@77.0.0 as published on npm: 589 files, 3.3 MB. Search them by exact text or regex, in milliseconds.
It uses: the fs module, fetch(), XMLHttpRequest, crypto, WebAssembly, document.cookie.
| API | In eslint-plugin-unicorn | |
|---|---|---|
| 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 | No | Who does |
| the fs module reads and writes files | Yes: 3 files e.g. rules/consistent-json-file-read.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | Yes: 3 files e.g. rules/no-invalid-fetch-options.js | See the lines |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 1 file e.g. rules/no-invalid-argument-count.js | See the lines |
| crypto hashes, encrypts or makes random numbers | Yes: 1 file e.g. rules/no-invalid-argument-count.js | See the lines |
| WebAssembly loads WebAssembly code | Yes: 2 files e.g. rules/utils/builtins.js | See the lines |
| document.cookie reads or writes browser cookies | Yes: 2 files e.g. rules/no-document-cookie.js | 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 77.0.0 of eslint-plugin-unicorn publishes 589 files of source, 3.3 MB in all, not counting images, fonts and source maps.
No: eslint-plugin-unicorn doesn't call eval() anywhere in its published files.
No: eslint-plugin-unicorn doesn't use child_process anywhere in its published files.
No: eslint-plugin-unicorn 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.