common-questions
An object of questions commonly used by project generators or when initializing projects. Questions can be overridden, updated or extended.
Last updated 8 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install common-questions 
SYNC missed versions from official npm registry.

common-questions NPM version NPM downloads Build Status

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

Install

Install with npm:

$ npm install --save common-questions

HEADS UP! as of v0.2.0 this has been refactored to work as a base plugin.

Usage

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

Questions

Adds the following 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 plugin.

About

Related projects

  • answer-store: Store answers to user prompts, based on locale and/or current working directory. | homepage
  • base-questions: Plugin for base-methods that adds methods for prompting the user and storing the answers on… more | homepage
  • base: base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… more | 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

Contributing

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

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

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

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.1.30, on August 17, 2016.

Current Tags

  • 0.5.1                                ...           latest (7 years ago)

17 Versions

  • 0.5.1                                ...           7 years ago
  • 0.5.0                                ...           8 years ago
  • 0.4.0                                ...           8 years ago
  • 0.3.5                                ...           8 years ago
  • 0.3.4                                ...           8 years ago
  • 0.3.3                                ...           8 years ago
  • 0.3.2                                ...           8 years ago
  • 0.3.1                                ...           8 years ago
  • 0.3.0                                ...           8 years ago
  • 0.2.4                                ...           8 years ago
  • 0.2.3                                ...           8 years ago
  • 0.2.2                                ...           8 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE