Home / npm packages / mime
Every file of mime@4.1.0 as published on npm: 22 files, 161 KB. Search them by exact text or regex, in milliseconds.
It uses: the fs module.
| API | In mime | |
|---|---|---|
| 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: 2 files e.g. dist/src/mime_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 | 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 |
|---|---|
dist/types/other.d.ts | 38 KB |
dist/types/other.js | 32 KB |
types/other.ts | 30 KB |
dist/types/standard.d.ts | 16 KB |
dist/types/standard.js | 13 KB |
types/standard.ts | 12 KB |
README.md | 4.2 KB |
dist/src/Mime.js | 4.1 KB |
src/Mime.ts | 3.9 KB |
src/mime_cli.ts | 2.2 KB |
dist/src/mime_cli.js | 2.1 KB |
package.json | 1.9 KB |
LICENSE | 1.1 KB |
dist/src/Mime.d.ts | 467 B |
src/index.ts | 233 B |
dist/src/index.js | 231 B |
src/index_lite.ts | 177 B |
dist/src/index_lite.js | 175 B |
dist/src/index_lite.d.ts | 130 B |
dist/src/index.d.ts | 130 B |
bin/cli.js | 116 B |
dist/src/mime_cli.d.ts | 63 B |
Version 4.1.0 of mime publishes 22 files of source, 161 KB in all, not counting images, fonts and source maps.
No: mime doesn't call eval() anywhere in its published files.
No: mime doesn't use child_process anywhere in its published files.
No: mime 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.