Home / npm packages / is-docker
Every file of is-docker@4.0.0 as published on npm: 6 files, 3.5 KB. Search them by exact text or regex, in milliseconds.
It uses: the fs module.
| API | In is-docker | |
|---|---|---|
| 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: 1 file e.g. index.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.
| File | Size |
|---|---|
license | 1.1 KB |
package.json | 826 B |
index.js | 608 B |
readme.md | 564 B |
index.d.ts | 235 B |
cli.js | 131 B |
Version 4.0.0 of is-docker publishes 6 files of source, 3.5 KB in all, not counting images, fonts and source maps.
No: is-docker doesn't call eval() anywhere in its published files.
No: is-docker doesn't use child_process anywhere in its published files.
No: is-docker 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.