# common-questions

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

Latest version **0.5.1** (published 2017-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install common-questions
pnpm add common-questions
yarn add common-questions
bun add common-questions
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2017-09-12 |
| First published | 2015-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0 |
| Dependencies | 15 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Jon Schlinkert |
| Maintainers | doowb, jonschlinkert |
| Keywords | answer, ask, base, cache, cli, common, config, data, interactive, prompt, question, questions, store |

## Links

- npm: https://www.npmjs.com/package/common-questions
- Repository: https://github.com/generate/common-questions
- Issues: https://github.com/generate/common-questions/issues
- npm.io page: https://npm.io/package/common-questions

## Dependencies (15)

- [debug](https://npm.io/package/debug.md) ^2.2.0
- [base-pkg](https://npm.io/package/base-pkg.md) ^0.2.4
- [get-value](https://npm.io/package/get-value.md) ^2.0.6
- [set-value](https://npm.io/package/set-value.md) ^2.0.0
- [camel-case](https://npm.io/package/camel-case.md) ^3.0.0
- [lazy-cache](https://npm.io/package/lazy-cache.md) ^2.0.1
- [mixin-deep](https://npm.io/package/mixin-deep.md) ^1.2.0
- [omit-empty](https://npm.io/package/omit-empty.md) ^0.4.1
- [set-getter](https://npm.io/package/set-getter.md) ^0.1.0
- [base-project](https://npm.io/package/base-project.md) ^0.2.1
- [is-valid-app](https://npm.io/package/is-valid-app.md) ^0.2.0
- [common-config](https://npm.io/package/common-config.md) ^0.1.0
- [base-questions](https://npm.io/package/base-questions.md) ^0.7.4
- [extend-shallow](https://npm.io/package/extend-shallow.md) ^2.0.1
- [define-property](https://npm.io/package/define-property.md) ^0.2.5

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.5.1 (latest) — 2017-09-12
- 0.5.0 — 2016-08-17
- 0.4.0 — 2016-08-17
- 0.3.5 — 2016-07-31
- 0.3.4 — 2016-07-15
- 0.3.3 — 2016-07-13
- 0.3.2 — 2016-07-11
- 0.3.1 — 2016-07-11
- 0.3.0 — 2016-07-11
- 0.2.4 — 2016-06-13
- 0.2.3 — 2016-06-13
- 0.2.2 — 2016-06-11
- 0.2.1 — 2016-05-12
- 0.2.0 — 2016-04-26
- 0.1.2 — 2016-02-01
- … 2 more at https://npm.io/package/common-questions/versions

## README

# common-questions [![NPM version](https://img.shields.io/npm/v/common-questions.svg?style=flat)](https://www.npmjs.com/package/common-questions) [![NPM downloads](https://img.shields.io/npm/dm/common-questions.svg?style=flat)](https://npmjs.org/package/common-questions) [![Build Status](https://img.shields.io/travis/generate/common-questions.svg?style=flat)](https://travis-ci.org/generate/common-questions)

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

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save common-questions
```

**HEADS UP!** as of v0.2.0 this has been refactored to work as a [base](https://github.com/node-base/base) plugin.

## Usage

```js
var questions = require('common-questions');
```

## Questions

Adds the following [questions](https://github.com/node-base/base-questions) and message text:

**Author questions**

* `author.name`: `Author's name?`
* `author.username`: `Author's GitHub username?`
* `author.twitter`: `Author's twitter username?`
* `author.email`: `Author's email address?`
* `author.url`: `Author's URL?`

**Project questions**

* `project.name`: `Project name?`
* `project.alias`: `Project alias?`
* `project.description`: `Project description?`
* `project.version`: `Project version?`
* `project.license`: `Project license?`
* `project.owner`: `Project owner?`

and...

* `name`: `Project name?`
* `alias`: `Project alias?`
* `description`: `Project description?`
* `version`: `Project version?`
* `license`: `Project license?`
* `owner`: `Project owner?`

## History

**v0.2.1**

Questions without a namespace have been deprecated and will be removed in 0.3.0.

**v0.2.0**

Refactored to work as a [base](https://github.com/node-base/base) plugin.

## About

### Related projects

* [answer-store](https://www.npmjs.com/package/answer-store): Store answers to user prompts, based on locale and/or current working directory. | [homepage](https://github.com/jonschlinkert/answer-store "Store answers to user prompts, based on locale and/or current working directory.")
* [base-questions](https://www.npmjs.com/package/base-questions): Plugin for base-methods that adds methods for prompting the user and storing the answers on… [more](https://github.com/node-base/base-questions) | [homepage](https://github.com/node-base/base-questions "Plugin for base-methods that adds methods for prompting the user and storing the answers on a project-by-project basis.")
* [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://github.com/node-base/base) | [homepage](https://github.com/node-base/base "base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.")
* [question-cache](https://www.npmjs.com/package/question-cache): A wrapper around inquirer that makes it easy to create and selectively reuse questions. | [homepage](https://github.com/jonschlinkert/question-cache "A wrapper around inquirer that makes it easy to create and selectively reuse questions.")
* [question-store](https://www.npmjs.com/package/question-store): Ask questions, persist the answers. Basic support for i18n and storing answers based on current… [more](https://github.com/jonschlinkert/question-store) | [homepage](https://github.com/jonschlinkert/question-store "Ask questions, persist the answers. Basic support for i18n and storing answers based on current working directory.")

### Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

### Building docs

_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_

To generate the readme and API documentation with [verb](https://github.com/verbose/verb):

```sh
$ npm install -g verb verb-generate-readme && verb
```

### Running tests

Install dev dependencies:

```sh
$ npm install -d && npm test
```

### Author

**Jon Schlinkert**

* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

### License

Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT license](https://github.com/generate/common-questions/blob/master/LICENSE).

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on August 17, 2016._

---
_Source: https://npm.io/package/common-questions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
