Home / npm packages / cosmiconfig
Every file of cosmiconfig@10.0.1 as published on npm: 31 files, 79 KB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), the fs module.
| API | In cosmiconfig | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 1 file e.g. dist/canUseDynamicImport.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | No | Who does |
| the fs module reads and writes files | Yes: 5 files e.g. dist/Explorer.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 |
|---|---|
README.md | 28 KB |
dist/ExplorerSync.js | 7.4 KB |
dist/Explorer.js | 7.3 KB |
dist/index.js | 6.5 KB |
dist/ExplorerBase.js | 4.8 KB |
dist/util.js | 4.1 KB |
dist/defaults.js | 3.4 KB |
package.json | 2.6 KB |
dist/types.d.ts | 2.1 KB |
dist/loaders.js | 1.9 KB |
dist/merge.js | 1.7 KB |
dist/defaults.d.ts | 1.4 KB |
dist/readFile.js | 1.3 KB |
LICENSE | 1.1 KB |
dist/index.d.ts | 1.1 KB |
dist/getPropertyByPath.js | 938 B |
dist/getDirectory.js | 900 B |
dist/cacheWrapper.js | 612 B |
dist/canUseDynamicImport.js | 444 B |
dist/merge.d.ts | 385 B |
dist/cacheWrapper.d.ts | 371 B |
dist/readFile.d.ts | 295 B |
dist/loaders.d.ts | 254 B |
dist/getDirectory.d.ts | 212 B |
dist/getPropertyByPath.d.ts | 193 B |
dist/canUseDynamicImport.d.ts | 130 B |
dist/types.js | 110 B |
dist/ExplorerBase.d.ts | 53 B |
dist/ExplorerSync.d.ts | 53 B |
dist/Explorer.d.ts | 49 B |
Version 10.0.1 of cosmiconfig publishes 31 files of source, 79 KB in all, not counting images, fonts and source maps.
No: cosmiconfig doesn't call eval() anywhere in its published files.
No: cosmiconfig doesn't use child_process anywhere in its published files.
No: cosmiconfig 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.