Home / npm packages / prompts
Every file of prompts@2.4.2 as published on npm: 68 files, 187 KB. Search them by exact text or regex, in milliseconds.
It uses: none of the APIs we check for.
| API | In prompts | |
|---|---|---|
| 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 | No | Who does |
| 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/prompts.js | 8.8 KB |
lib/prompts.js | 8.8 KB |
dist/elements/autocomplete.js | 8.7 KB |
lib/elements/autocomplete.js | 7.8 KB |
dist/elements/multiselect.js | 7.4 KB |
dist/index.js | 7.3 KB |
lib/elements/multiselect.js | 7.2 KB |
dist/elements/date.js | 6.9 KB |
dist/elements/number.js | 6.7 KB |
dist/elements/text.js | 6.4 KB |
lib/elements/date.js | 5.7 KB |
lib/elements/number.js | 5.7 KB |
lib/elements/text.js | 5.3 KB |
dist/elements/autocompleteMultiselect.js | 5.3 KB |
lib/elements/autocompleteMultiselect.js | 5.3 KB |
dist/elements/select.js | 5.1 KB |
lib/elements/select.js | 4.8 KB |
lib/index.js | 3.1 KB |
dist/elements/toggle.js | 2.7 KB |
lib/elements/toggle.js | 2.6 KB |
dist/elements/confirm.js | 2.4 KB |
dist/util/clear.js | 2.4 KB |
lib/elements/confirm.js | 2.3 KB |
dist/elements/prompt.js | 1.9 KB |
lib/elements/prompt.js | 1.8 KB |
lib/util/action.js | 1.3 KB |
dist/util/action.js | 1.3 KB |
dist/util/style.js | 1.1 KB |
lib/util/style.js | 1.1 KB |
Version 2.4.2 of prompts publishes 68 files of source, 187 KB in all, not counting images, fonts and source maps.
No: prompts doesn't call eval() anywhere in its published files.
No: prompts doesn't use child_process anywhere in its published files.
No: prompts 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.