Home / npm packages / xo
Every file of xo@5.0.1 as published on npm: 27 files, 96 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env, the fs module, crypto.
| API | In xo | |
|---|---|---|
| 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 | Yes: 1 file e.g. dist/cli.js | See the lines |
| the fs module reads and writes files | Yes: 3 files e.g. dist/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 | Yes: 1 file e.g. dist/lib/xo.js | See the lines |
| 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.
| File | Size |
|---|---|
dist/lib/xo.js | 27 KB |
readme.md | 20 KB |
dist/cli.js | 10 KB |
dist/lib/utils.js | 8.2 KB |
dist/lib/xo-to-eslint.js | 4.5 KB |
dist/lib/types.d.ts | 3.9 KB |
dist/lib/xo.d.ts | 3.4 KB |
dist/lib/handle-ts-files.js | 3.1 KB |
package.json | 2.3 KB |
dist/lib/eslint-adapter.js | 2.1 KB |
dist/lib/utils.d.ts | 2.1 KB |
dist/lib/resolve-config.js | 2.1 KB |
dist/lib/constants.js | 1.5 KB |
license | 1.1 KB |
dist/lib/open-report.js | 1.1 KB |
dist/lib/constants.d.ts | 903 B |
dist/lib/handle-ts-files.d.ts | 895 B |
dist/lib/xo-to-eslint.d.ts | 286 B |
dist/lib/resolve-config.d.ts | 273 B |
dist/index.d.ts | 218 B |
dist/lib/config.js | 188 B |
dist/index.js | 179 B |
dist/lib/config.d.ts | 151 B |
dist/lib/open-report.d.ts | 142 B |
dist/lib/eslint-adapter.d.ts | 112 B |
dist/lib/types.js | 44 B |
dist/cli.d.ts | 31 B |
Version 5.0.1 of xo publishes 27 files of source, 96 KB in all, not counting images, fonts and source maps.
No: xo doesn't call eval() anywhere in its published files.
No: xo doesn't use child_process anywhere in its published files.
No: xo 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.