{"_id":"question-match","_rev":"5-48eb03e7cbe0faf551cc07b2fd8c16f6","name":"question-match","description":"Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"question-match","description":"Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/question-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","micromatch":"^2.3.7"},"devDependencies":{"gulp-format-md":"*","mocha":"^2.4.2","question-store":"^0.4.2"},"keywords":["answer","answers","cli","generate","generator","plugin","prompt","question","question-store","questions","store","yeoman"],"lintDeps":{"ignore":[]},"verb":{"toc":false,"layout":"default","plugins":["gulp-format-md"],"related":{"list":["answer-store","question-cache","question-store"]},"reflinks":["question-force"]},"gitHead":"0c02930310493fd51bbfd0d110063ab38da4d9b2","_id":"question-match@0.1.0","_shasum":"1ff6ea564a145fa9acb25604f17bd2a6a89240e5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1ff6ea564a145fa9acb25604f17bd2a6a89240e5","tarball":"https://registry.npmjs.org/question-match/-/question-match-0.1.0.tgz","integrity":"sha512-zVNwOzV4BvXk8Z+1x+TZEXVOz71jT3bwB2U2hjsrHqGogUWGDcVkZIHxaq5gFbHM95BNmiNaq65hdBbCqdJL4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHz+tDES7QDcerQeu1nGd3QGodeTg650ffW70F6qY4wCAiBmnW+ISnEukEdpDFaUb4t5F0hTesYCPnxORsRhOgvwJg=="}]}},"0.1.1":{"name":"question-match","description":"Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/question-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","micromatch":"^2.3.7"},"devDependencies":{"gulp-format-md":"*","mocha":"^2.4.2","question-store":"^0.4.2"},"keywords":["answer","answers","cli","generate","generator","plugin","prompt","question","question-store","questions","store","yeoman"],"lintDeps":{"ignore":[]},"verb":{"toc":false,"layout":"default","plugins":["gulp-format-md"],"related":{"list":["answer-store","question-cache","question-store"]},"reflinks":["question-force"]},"gitHead":"0c02930310493fd51bbfd0d110063ab38da4d9b2","_id":"question-match@0.1.1","_shasum":"b8f48f6fc200d8286de724820117f2af70e5f001","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b8f48f6fc200d8286de724820117f2af70e5f001","tarball":"https://registry.npmjs.org/question-match/-/question-match-0.1.1.tgz","integrity":"sha512-wWd9kGb5kIjpB8Lurrt7be8q5QjXJiF0T3P+pF37IS7c8cGwO6qzrUBRNw7sYjROf1CdE/I8+PeSiC3c8vX/Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTcmAF8bXGhtt5/y0mrJo7ouk2RF08Szzxr+AI4wqSxAIhAKzCjwO5Vdr9y5sXrX2N8EmWf0rS+I52mp5aLGC5d9g/"}]}},"0.1.2":{"name":"question-match","description":"Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/question-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","micromatch":"^2.3.7"},"devDependencies":{"gulp-format-md":"*","mocha":"^2.4.2","question-store":"^0.4.2"},"keywords":["answer","answers","cli","generate","generator","plugin","prompt","question","question-store","questions","store","yeoman"],"lintDeps":{"ignore":[]},"verb":{"toc":false,"layout":"default","plugins":["gulp-format-md"],"related":{"list":["answer-store","question-cache","question-store"]},"reflinks":["question-force"]},"gitHead":"f6a98e138d3873a8bc2a64e19857302f87944459","_id":"question-match@0.1.2","_shasum":"c0ca176f0e1474e37ab574e6f225474c86442738","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c0ca176f0e1474e37ab574e6f225474c86442738","tarball":"https://registry.npmjs.org/question-match/-/question-match-0.1.2.tgz","integrity":"sha512-DRYr+56vfzAd6TwMZAFymd5yRKtV1Y2EodgxbRmurUSoUWmzysYhUVUgm+Fxb56WdBInFyslLp/G/mf04422og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbD3yUfT06BdUc/QpEWWPz8FjaRFz0niH2+R3KYO+yeAIgXXy/ohFu3V6P1erDwS3aZcfLpFfNFcTnfhrk0fjFI/s="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/question-match-0.1.2.tgz_1457497137470_0.37354138190858066"}}},"readme":"# question-match [![NPM version](https://img.shields.io/npm/v/question-match.svg)](https://www.npmjs.com/package/question-match) [![Build Status](https://img.shields.io/travis/jonschlinkert/question-match.svg)](https://travis-ci.org/jonschlinkert/question-match)\n\n> Plugin for question-store that adds a `match` method for filtering out questions to ask using glob patterns or regex.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i question-match --save\n```\n\nAlso see [question-force](https://github.com/jonschlinkert/question-force).\n\n## Usage\n\n```js\nvar match = require('question-match');\nvar Questions = require('question-store');\nvar questions = new Questions();\n\n// register the plugin\nquestions.use(match());\n\n// pre-load answer data from package.json and\n// set some questions to ask\nquestions.setData(require('../package'));\n  .set('author.name', 'Author name?')\n  .set('author.username', 'Author username?')\n  .set('author.url', 'Author url?')\n\n  .set('project.name', 'What is the project name?')\n  .set('project.desc', 'What is the project description?');\n\n// only ask questions with keys that match `*.name`\nquestions.match('*.name')\n  .ask(function(err, answer) {\n    console.log(answer)\n  });\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [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)\n* [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)\n* [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://www.npmjs.com/package/question-store) | [homepage](https://github.com/jonschlinkert/question-store)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/question-match/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 28, 2016._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-25T06:48:17.922Z","created":"2016-01-28T05:31:34.666Z","0.1.0":"2016-01-28T05:31:34.666Z","0.1.1":"2016-01-28T05:34:22.670Z","0.1.2":"2016-03-09T04:19:01.895Z"},"homepage":"https://github.com/jonschlinkert/question-match","keywords":["answer","answers","cli","generate","generator","plugin","prompt","question","question-store","questions","store","yeoman"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-match.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/question-match/issues"},"license":"MIT","readmeFilename":"readme.md"}