Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-qa

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-qa - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

1

example.js

@@ -5,2 +5,3 @@ var QA = require('./');

"{bold}Name:{reset}",
{ title: "Username:", default: process.env.USER },
{ title: "{bold}Favorite foods:{reset}", list: 3 },

@@ -7,0 +8,0 @@ { key: "books", title: "{bold}Favorite books {grey}(Type as much as you want!){reset}{bold}:{reset}", list: true },

@@ -56,2 +56,6 @@ var read = require("read-cli-input");

if (question.default && !answer && (!answer.trim || !answer.trim())) {
answer = question.default;
}
callback(answer);

@@ -58,0 +62,0 @@ });

2

package.json
{
"name": "cli-qa",
"version": "0.1.2",
"version": "0.2.0",
"description": "Command-line Questions & Answers",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc