
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
question-match
Advanced tools
Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.
Plugin for question-store that adds a
matchmethod for filtering out questions to ask using glob patterns or regex.
Install with npm:
$ npm i question-match --save
Also see question-force.
var match = require('question-match');
var Questions = require('question-store');
var questions = new Questions();
// register the plugin
questions.use(match());
// pre-load answer data from package.json and
// set some questions to ask
questions.setData(require('../package'));
.set('author.name', 'Author name?')
.set('author.username', 'Author username?')
.set('author.url', 'Author url?')
.set('project.name', 'What is the project name?')
.set('project.desc', 'What is the project description?');
// only ask questions with keys that match `*.name`
questions.match('*.name')
.ask(function(err, answer) {
console.log(answer)
});
You might also be interested in these projects:
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb on January 28, 2016.
FAQs
Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.
The npm package question-match receives a total of 1,394 weekly downloads. As such, question-match popularity was classified as popular.
We found that question-match 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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.