{"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":"http://registry-npm.ywwl.com/question-match/download/question-match-0.1.1.tgz","integrity":"sha512-wWd9kGb5kIjpB8Lurrt7be8q5QjXJiF0T3P+pF37IS7c8cGwO6qzrUBRNw7sYjROf1CdE/I8+PeSiC3c8vX/Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTcmAF8bXGhtt5/y0mrJo7ouk2RF08Szzxr+AI4wqSxAIhAKzCjwO5Vdr9y5sXrX2N8EmWf0rS+I52mp5aLGC5d9g/"}],"size":2550,"noattachment":false,"key":"/question-match/-/question-match-0.1.1.tgz"},"directories":{},"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._","publish_time":1453959262670,"_cnpm_publish_time":1453959262670,"dist-tags":{"latest":"0.1.2"}}