Socket
Socket
Sign inDemoInstall

common-questions

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-questions

An object of questions commonly used by project generators or when initializing projects. Questions can be overridden, updated or extended.


Version published
Weekly downloads
1.7K
decreased by-26.81%
Maintainers
1
Weekly downloads
 
Created
Source

common-questions NPM version Build Status

An object of questions commonly used by project generators or when initializing projects. Questions can be overridden, updated or extended.

This is currently formatted to work with question-store, but this will probably be generalized so it can work with inquirer, question-cache etc.

Install

Install with npm

$ npm i common-questions --save

Usage

var commonQuestions = require('common-questions');

var Questions = require('question-store');
var questions = new Questions();

var obj = commonQuestions();

for (var key in obj) {
  questions.visit(key, obj[key]);
}

API

  • answer-store: Store answers to user prompts, based on locale and/or current working directory. | homepage
  • question-cache: A wrapper around inquirer that makes it easy to create and selectively reuse questions. | homepage
  • question-store: Ask questions, persist the answers. Basic support for i18n and storing answers based on current… more | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on November 27, 2015.

FAQs

Package last updated on 28 Nov 2015

Did you know?

Socket

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.

Install

Related posts

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