
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Command-line Questions & Answers. Supports color formatting, lists, yes/no confirmations.
$ npm install cli-qa
var QA = require('cli-qa')
var questions = [
{ key: "name", title: "Hey! What's your name?" },
{ key: "foods", title: "What are your 3 most favorite foods?", list: 3 },
{ title: "Favorite books?", description: "Type as much as you want!", list: true }, // unlimited list input
"Thoughts?",
{ title: "That's all?", description: "Yes/No", bool: true }
];
QA(questions, function (answers) {
console.log(answers)
// => {
// "name": "Azer",
// "foods": ["falafel", "babi guling", "kebab"],
// "favoriteBooks": ["snow", "white castle"],
// "thoughts": "let's go somewhere!",
// "thatsAll": true
// }
})
Title and description fields can be styled with style-format interface. Here is an example;
QA([{ title: "{green}Yes{reset}/{red}No{reset}?", bool: true }], function (answers) {
answers[yesNo]
// => true or false
})
FAQs
This package name is not currently in use, but was formerly occupied by a popular package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.
The npm package cli-qa receives a total of 17 weekly downloads. As such, cli-qa popularity was classified as not popular.
We found that cli-qa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.