{"schemaVersion":1,"id":"inquirer-js","name":"Inquirer.js","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/inquirer-js/","officialUrl":"https://github.com/sboudrias/Inquirer.js","isCatalog":false,"description":"An interactive-question library for Node.js CLIs: collects user parameters through selection, input, and other terminal prompts.","tasks":["Collect user parameters through CLI prompts","Connect prompt answers to configuration of a project operation"],"categoryIds":["software","infrastructure"],"subcategoryIds":["software.cli","infrastructure.developer"],"tags":["Inquirer.js","CLI","Development"],"aliases":["sboudrias/Inquirer.js","inquirer.js","inquirerjs","cli-prompts","interactive-cli"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Collect user parameters through CLI prompts","chooseWhen":["Collect user parameters through CLI prompts","Connect prompt answers to configuration of a project operation"],"considerInstead":[],"requirements":["Provide an interactive TTY; when configuring your own stdin, check raw mode and prompt termination."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Input may be unavailable in noninteractive CI or a hook; the prompt function does not itself create a TTY."],"faq":[{"question":"What can you use for free in Inquirer.js?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Inquirer.js?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Inquirer.js?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Inquirer.js?","answer":"Describe questions, choices, and input validation. Connect prompt answers to configuration of a project operation. Save the working command or script and the result criteria."},{"question":"Why can Ctrl+C terminate an Inquirer.js prompt with an error?","answer":"The prompt returns a Promise, and user interruption rejects it with ExitPromptError. Handle the expected path and interface cleanup. AbortSignal is also documented for programmatic cancellation or timeout."}],"related":[],"sources":["https://github.com/sboudrias/Inquirer.js","https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/README.md","https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/packages/prompts/README.md","https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Collect user parameters through CLI prompts.","inputs":["Project files or environment.","A shell and supported platform."],"steps":["Describe questions, choices, and input validation.","Connect prompt answers to configuration of a project operation.","Save the working command or script and the result criteria."],"checks":["The command correctly handles paths, Unicode, and invalid inputs.","Repeat runs behave predictably; credentials do not appear in the output."]},"sources":["https://github.com/sboudrias/Inquirer.js","https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/README.md","https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/packages/prompts/README.md","https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Developer CLI","kind":"tool","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/sboudrias/Inquirer.js","label":"Official source"},{"url":"https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/sboudrias/Inquirer.js/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/packages/prompts/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/sboudrias/Inquirer.js/main/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}