{"_id":"question-cache","_rev":"106854","name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","dist-tags":{"latest":"0.7.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:38:49.000Z","created":"2015-04-19T04:43:21.308Z","0.7.0":"2016-10-01T10:49:32.452Z","0.6.0":"2016-08-17T07:48:14.996Z","0.5.1":"2016-07-11T20:43:57.411Z","0.5.0":"2016-07-11T18:38:15.621Z","0.4.0":"2016-04-13T14:09:01.621Z","0.3.5":"2016-01-03T18:32:39.133Z","0.3.4":"2015-12-11T14:33:31.352Z","0.3.3":"2015-10-22T19:49:26.268Z","0.3.2":"2015-10-21T23:28:41.528Z","0.3.1":"2015-10-17T18:40:31.391Z","0.3.0":"2015-08-30T05:55:06.658Z","0.2.4":"2015-08-30T03:59:19.867Z","0.2.3":"2015-08-21T08:43:56.192Z","0.2.2":"2015-08-15T09:02:10.399Z","0.2.1":"2015-08-09T21:32:21.516Z","0.2.0":"2015-08-09T20:32:10.682Z","0.1.3":"2015-08-06T16:42:36.678Z","0.1.2":"2015-07-13T13:26:51.767Z","0.1.1":"2015-07-13T12:12:17.166Z","0.1.0":"2015-04-19T04:43:21.308Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"versions":{"0.7.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.7.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"arr-flatten":"^1.0.1","arr-union":"^3.1.0","async-each-series":"^1.1.0","clone-deep":"^0.2.4","debug":"^2.2.0","define-property":"^0.2.5","extend-shallow":"^2.0.1","get-value":"^2.0.6","has-value":"^0.3.1","inquirer2":"^0.1.1","is-answer":"^0.1.0","isobject":"^2.1.0","lazy-cache":"^2.0.1","log-utils":"^0.2.1","mixin-deep":"^1.1.3","omit-empty":"^0.4.1","option-cache":"^3.4.0","project-name":"^0.2.6","set-value":"^0.3.3","to-choices":"^0.2.0","use":"^2.0.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","bdd-stdin":"^0.2.0","data-store":"^0.16.1","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.10","gulp-istanbul":"^1.1.0","gulp-mocha":"^3.0.1","gulp-unused":"^0.1.2","helper-example":"^0.1.0","intercept-stdout":"^0.1.2","mocha":"^3.0.2"},"keywords":["answer","ask","cache","cli","command","command-line","console","create","generate","generator","generators","init","inquirer","menu","project","prompt","prompts","question","questions","scaffold","stdin","store","terminal","tty","util","yeoman"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","verb-generate-readme","yeoman"],"lint":{"reflinks":true},"helpers":["helper-example"]},"gitHead":"7927806c8f55a074f16039673380ba5174d7e09f","_id":"question-cache@0.7.0","scripts":{},"_shasum":"29c5f7d290889da7c6bb395342eb71f71e813d4d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"29c5f7d290889da7c6bb395342eb71f71e813d4d","size":9400,"noattachment":false,"key":"/question-cache/-/question-cache-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.7.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/question-cache-0.7.0.tgz_1475318970621_0.9823583983816206"},"directories":{},"publish_time":1475318972452,"_cnpm_publish_time":1475318972452,"_hasShrinkwrap":false},"0.6.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.6.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","lib","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"arr-flatten":"^1.0.1","arr-union":"^3.1.0","async-each-series":"^1.1.0","clone-deep":"^0.2.4","debug":"^2.2.0","define-property":"^0.2.5","extend-shallow":"^2.0.1","get-value":"^2.0.6","has-value":"^0.3.1","inquirer2":"^0.1.1","is-answer":"^0.1.0","isobject":"^2.1.0","lazy-cache":"^2.0.1","mixin-deep":"^1.1.3","omit-empty":"^0.4.1","option-cache":"^3.4.0","project-name":"^0.2.6","set-value":"^0.3.3","to-choices":"^0.2.0","use":"^2.0.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","bdd-stdin":"^0.2.0","data-store":"^0.16.1","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.10","gulp-istanbul":"^1.1.0","gulp-mocha":"^3.0.1","gulp-unused":"^0.1.2","helper-example":"^0.1.0","intercept-stdout":"^0.1.2","mocha":"^3.0.2"},"keywords":["answer","ask","cache","cli","command","command-line","console","create","generate","generator","generators","init","inquirer","menu","project","prompt","prompts","question","questions","scaffold","stdin","store","terminal","tty","util","yeoman"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","verb-generate-readme","yeoman"],"lint":{"reflinks":true},"helpers":["helper-example"]},"gitHead":"8cf7a9271ab08395bd971ac9e2b2538ba6f21e73","_id":"question-cache@0.6.0","scripts":{},"_shasum":"c72f75daf3fab9d364e385f413ed5c7fa0b14e5e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c72f75daf3fab9d364e385f413ed5c7fa0b14e5e","size":9225,"noattachment":false,"key":"/question-cache/-/question-cache-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.6.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/question-cache-0.6.0.tgz_1471420092127_0.9987957898993045"},"directories":{},"publish_time":1471420094996,"_cnpm_publish_time":1471420094996,"_hasShrinkwrap":false},"0.5.1":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.5.1","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["LICENSE","README.md","index.js","lib","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"arr-flatten":"^1.0.1","arr-union":"^3.1.0","async-each-series":"^1.1.0","debug":"^2.2.0","define-property":"^0.2.5","get-value":"^2.0.6","has-value":"^0.3.1","inquirer2":"^0.1.1","is-answer":"^0.1.0","isobject":"^2.1.0","lazy-cache":"^2.0.1","mixin-deep":"^1.1.3","omit-empty":"^0.4.1","option-cache":"^3.4.0","os-homedir":"^1.0.1","project-name":"^0.2.5","set-value":"^0.3.3","to-choices":"^0.2.0","use":"^2.0.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.9","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","gulp-unused":"^0.1.2","helper-example":"^0.1.0","mocha":"^2.5.3"},"keywords":["answer","ask","cache","cli","command","command-line","console","create","generate","generator","generators","init","inquirer","menu","project","prompt","prompts","question","questions","scaffold","stdin","store","terminal","tty","util","yeoman"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","verb-generate-readme","yeoman"],"lint":{"reflinks":true},"helpers":["helper-example"]},"gitHead":"363d20a2160b30e95b8e3da5e4b86b8d16a5ab48","_id":"question-cache@0.5.1","scripts":{},"_shasum":"0bc27329175341707df5acd31ef2ddf67029168d","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0bc27329175341707df5acd31ef2ddf67029168d","size":6522,"noattachment":false,"key":"/question-cache/-/question-cache-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.5.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/question-cache-0.5.1.tgz_1468269834834_0.7610482117161155"},"directories":{},"publish_time":1468269837411,"_cnpm_publish_time":1468269837411,"_hasShrinkwrap":false},"0.5.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["LICENSE","README.md","index.js","lib","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"arr-flatten":"^1.0.1","arr-union":"^3.1.0","async-each-series":"^1.1.0","debug":"^2.2.0","define-property":"^0.2.5","get-value":"^2.0.6","has-value":"^0.3.1","inquirer2":"^0.1.1","is-answer":"^0.1.0","isobject":"^2.1.0","lazy-cache":"^2.0.1","mixin-deep":"^1.1.3","omit-empty":"^0.4.1","option-cache":"^3.4.0","os-homedir":"^1.0.1","project-name":"^0.2.5","set-value":"^0.3.3","to-choices":"^0.2.0","use":"^2.0.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.9","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","gulp-unused":"^0.1.2","helper-example":"^0.1.0","mocha":"^2.5.3"},"keywords":["answer","ask","cache","cli","command","command-line","console","create","generate","generator","generators","init","inquirer","menu","project","prompt","prompts","question","questions","scaffold","stdin","store","terminal","tty","util","yeoman"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","verb-generate-readme","yeoman"],"lint":{"reflinks":true},"helpers":["helper-example"]},"gitHead":"e30c2cc8b0ad8a302812a58791d42f1d8f88225f","_id":"question-cache@0.5.0","scripts":{},"_shasum":"595a477c7f03ae64cb2924a7502f9d66fe2ddac3","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"595a477c7f03ae64cb2924a7502f9d66fe2ddac3","size":6526,"noattachment":false,"key":"/question-cache/-/question-cache-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.5.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/question-cache-0.5.0.tgz_1468262293245_0.4316268104594201"},"directories":{},"publish_time":1468262295621,"_cnpm_publish_time":1468262295621,"_hasShrinkwrap":false},"0.4.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"arr-flatten":"^1.0.1","arr-union":"^3.1.0","async":"1.5.2","debug":"^2.2.0","define-property":"^0.2.5","get-value":"^2.0.5","has-value":"^0.3.1","inquirer2":"^0.1.1","is-answer":"^0.1.0","isobject":"^2.0.0","lazy-cache":"^1.0.3","mixin-deep":"^1.1.3","omit-empty":"^0.3.6","option-cache":"^3.3.5","os-homedir":"^1.0.1","project-name":"^0.2.4","set-value":"^0.3.3","to-choices":"^0.2.0","use":"^1.1.2"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-format-md":"^0.1.7","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","gulp-unused":"^0.1.2","helper-example":"^0.1.0","mocha":"^2.4.5"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","yeoman"],"lint":{"reflinks":true},"helpers":["helper-example"]},"gitHead":"8ad4afa3d5d15f6213c432c3ec30beb7df80df6e","_id":"question-cache@0.4.0","scripts":{},"_shasum":"e2b9937fc5fb7dc60fbb9f105f1fa254b33dea7d","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e2b9937fc5fb7dc60fbb9f105f1fa254b33dea7d","size":8796,"noattachment":false,"key":"/question-cache/-/question-cache-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.4.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/question-cache-0.4.0.tgz_1460556539280_0.4904216779395938"},"directories":{},"publish_time":1460556541621,"_cnpm_publish_time":1460556541621,"_hasShrinkwrap":false},"0.3.5":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.5","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^2.0.2","has-value":"^0.3.0","inquirer2":"github:jonschlinkert/inquirer2","kind-of":"^3.0.2","lazy-cache":"^1.0.3","mixin-deep":"^1.1.3","set-value":"^0.3.2"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*","should":"*"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","ask-once","generate","question-helper"]},"reflinks":["generate","inquirer2","verb","yeoman"],"layout":"default","plugins":["gulp-format-md"]},"gitHead":"8555018cdd87c8e5a44ea66d60ae79f56be27af2","_id":"question-cache@0.3.5","scripts":{},"_shasum":"cd263948c206fab79c2236c741ae741682db65b3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cd263948c206fab79c2236c741ae741682db65b3","size":6104,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.5.tgz"},"directories":{},"publish_time":1451845959133,"_cnpm_publish_time":1451845959133,"_hasShrinkwrap":false},"0.3.4":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.4","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^2.0.2","has-value":"^0.3.0","inquirer2":"github:jonschlinkert/inquirer2","kind-of":"^3.0.2","lazy-cache":"^1.0.2","mixin-deep":"^1.1.3","set-value":"^0.3.2"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*","should":"*"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]},"reflinks":["verb","yeoman","generate","inquirer"]},"gitHead":"13edd8a7bec68bb419348a4b1abdbe363352ac3b","_id":"question-cache@0.3.4","scripts":{},"_shasum":"dc8f089faa8d54b698544439227ea387cecaf2ee","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"dc8f089faa8d54b698544439227ea387cecaf2ee","size":6161,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.4.tgz"},"directories":{},"publish_time":1449844411352,"_cnpm_publish_time":1449844411352,"_hasShrinkwrap":false},"0.3.3":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.3","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^1.2.1","has-value":"^0.2.0","inquirer":"^0.11.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","mocha":"^2.2.5","should":"^7.1.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"c06e3698e8d0454caf7ed0f39d77c30ebf273281","_id":"question-cache@0.3.3","scripts":{},"_shasum":"4e90bbaead5c6badb192f2c4b0ddb5fa8c0894a0","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4e90bbaead5c6badb192f2c4b0ddb5fa8c0894a0","size":6051,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.3.tgz"},"directories":{},"publish_time":1445543366268,"_cnpm_publish_time":1445543366268,"_hasShrinkwrap":false},"0.3.2":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^1.2.1","has-value":"^0.2.0","inquirer":"^0.10.1","kind-of":"^2.0.1","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","mocha":"^2.2.5","should":"^7.1.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"6b513572d0b0b7769d3b4afdad416b14e4e63dbe","_id":"question-cache@0.3.2","scripts":{},"_shasum":"2d012f87728694e291d5660efe20064f1689fa52","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"2d012f87728694e291d5660efe20064f1689fa52","size":5863,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.2.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445470121528,"_cnpm_publish_time":1445470121528,"_hasShrinkwrap":false},"0.3.1":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^1.2.1","has-value":"^0.2.0","inquirer":"^0.10.1","kind-of":"^2.0.1","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","mocha":"^2.2.5","should":"^7.1.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"8163c91b28622b886c1336a9e7c61a5ad49b67ba","_id":"question-cache@0.3.1","scripts":{},"_shasum":"b1e22ebe3f876fecb70342b9cad22be700cfc340","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"b1e22ebe3f876fecb70342b9cad22be700cfc340","size":5907,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445107231391,"_cnpm_publish_time":1445107231391,"_hasShrinkwrap":false},"0.3.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","inquirer":"^0.9.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","mocha":"^2.2.5","should":"^7.1.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"a1f018d7c9b245c630612b149115933a7ba1e0ca","_id":"question-cache@0.3.0","scripts":{},"_shasum":"63176f98f8507075994e0c6b298559af4b940a30","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"63176f98f8507075994e0c6b298559af4b940a30","size":5839,"noattachment":false,"key":"/question-cache/-/question-cache-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.3.0.tgz"},"directories":{},"publish_time":1440914106658,"_cnpm_publish_time":1440914106658,"_hasShrinkwrap":false},"0.2.4":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.2.4","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","lazy-cache":"^0.2.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","inquirer":"^0.8.5"},"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"21a3b5d278050adea6302d9381f900f84f23bf9e","_id":"question-cache@0.2.4","scripts":{},"_shasum":"b95f0eced8817e5210ffa948194af7d9ed9dbb5e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b95f0eced8817e5210ffa948194af7d9ed9dbb5e","size":5235,"noattachment":false,"key":"/question-cache/-/question-cache-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.2.4.tgz"},"directories":{},"publish_time":1440907159867,"_cnpm_publish_time":1440907159867,"_hasShrinkwrap":false},"0.2.3":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","lazy-cache":"^0.2.3","set-value":"^0.2.0"},"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","inquirer":"^0.8.5"},"verb":{"related":{"list":["ask-for-github-auth","question-helper","generate","ask-once"]}},"gitHead":"c134c293958af6b2069216ca2460497e81c70c4b","_id":"question-cache@0.2.3","scripts":{},"_shasum":"755a132d700ef15094f84fd4cb7883ff80504815","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"755a132d700ef15094f84fd4cb7883ff80504815","size":5145,"noattachment":false,"key":"/question-cache/-/question-cache-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.2.3.tgz"},"directories":{},"publish_time":1440146636192,"_cnpm_publish_time":1440146636192,"_hasShrinkwrap":false},"0.2.2":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","inquirer":"^0.8.5"},"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","set-value":"^0.2.0"},"verb":{"related":{"list":["question-helper","generate","ask-once"]}},"gitHead":"67e515051d6ab4e7e55173d9f6abaea47de29406","_id":"question-cache@0.2.2","scripts":{},"_shasum":"a757440a6f664094e214bef1e3b2e034f287a138","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a757440a6f664094e214bef1e3b2e034f287a138","size":5100,"noattachment":false,"key":"/question-cache/-/question-cache-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.2.2.tgz"},"directories":{},"publish_time":1439629330399,"_cnpm_publish_time":1439629330399,"_hasShrinkwrap":false},"0.2.1":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","inquirer":"^0.8.5"},"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","set-value":"^0.2.0"},"verb":{"related":{"list":["question-helper","generate","ask-once"]}},"gitHead":"f4b45e44e59589c436767ea7798375bd7cf1257d","_id":"question-cache@0.2.1","scripts":{},"_shasum":"80edd69795e3bf2f2a722ff772f3ed3ad7d47ffe","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"80edd69795e3bf2f2a722ff772f3ed3ad7d47ffe","size":5089,"noattachment":false,"key":"/question-cache/-/question-cache-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.2.1.tgz"},"directories":{},"publish_time":1439155941516,"_cnpm_publish_time":1439155941516,"_hasShrinkwrap":false},"0.2.0":{"name":"question-cache","description":"A wrapper around inquirer that makes it easy to create and selectively reuse questions.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"devDependencies":{"ansi-green":"^0.1.1","ansi-red":"^0.1.1","inquirer":"^0.8.5"},"dependencies":{"get-value":"^1.1.5","has-value":"^0.2.0","set-value":"^0.2.0"},"verb":{"related":{"list":["question-helper","generate","ask-once"]}},"gitHead":"24ae722e391d016cd927d995740f39e884fe523e","_id":"question-cache@0.2.0","scripts":{},"_shasum":"0eb758d12d2e1fca6083df921abd5819c89d12b2","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0eb758d12d2e1fca6083df921abd5819c89d12b2","size":5132,"noattachment":false,"key":"/question-cache/-/question-cache-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.2.0.tgz"},"directories":{},"publish_time":1439152330682,"_cnpm_publish_time":1439152330682,"_hasShrinkwrap":false},"0.1.3":{"name":"question-cache","description":"A tiny wrapper around inquirer that makes it easy to create and selectively reuse questions. Useful for project generators like yeoman or generate.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["generate","option-cache","verb"]}},"devDependencies":{"inquirer":"^0.8.5"},"dependencies":{},"gitHead":"f35e9e5b3403d1ab968931ef2c1dad7c661d703d","_id":"question-cache@0.1.3","scripts":{},"_shasum":"d951bfa8155f332eab0f2daf9129eeed780fc74c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d951bfa8155f332eab0f2daf9129eeed780fc74c","size":3279,"noattachment":false,"key":"/question-cache/-/question-cache-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.1.3.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1438879356678,"_cnpm_publish_time":1438879356678,"_hasShrinkwrap":false},"0.1.2":{"name":"question-cache","description":"A tiny wrapper around inquirer that makes it easy to create and selectively reuse questions. Useful for project generators like yeoman or generate.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["generate","option-cache","verb"]}},"devDependencies":{"inquirer":"^0.8.5"},"dependencies":{},"gitHead":"276356519c410cebe18255402025c6bc4c61f1eb","_id":"question-cache@0.1.2","scripts":{},"_shasum":"81068a433f6566423e46d795682af8cb1cda769f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"81068a433f6566423e46d795682af8cb1cda769f","size":3291,"noattachment":false,"key":"/question-cache/-/question-cache-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.1.2.tgz"},"directories":{},"publish_time":1436794011767,"_cnpm_publish_time":1436794011767,"_hasShrinkwrap":false},"0.1.1":{"name":"question-cache","description":"A tiny wrapper around inquirer that makes it easy to create and selectively reuse questions. Useful for project generators like yeoman or generate.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions","util","yeoman"],"verb":{"related":{"list":["generate","option-cache","verb"]}},"devDependencies":{"inquirer":"^0.8.5"},"gitHead":"1acfcc99a27a6cabcf9d541e0f2b528012434777","_id":"question-cache@0.1.1","scripts":{},"_shasum":"e3bfcb5fdf41fc0967fc6e4be1c291291974f2b9","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e3bfcb5fdf41fc0967fc6e4be1c291291974f2b9","size":2880,"noattachment":false,"key":"/question-cache/-/question-cache-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.1.1.tgz"},"directories":{},"publish_time":1436789537166,"_cnpm_publish_time":1436789537166,"_hasShrinkwrap":false},"0.1.0":{"name":"question-cache","description":"A tiny wrapper around inquirer that makes it easy to create and selectively reuse questions. Useful for project generators like yeoman or generate.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/question-cache","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/question-cache.git"},"bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/question-cache/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"inquirer":"^0.8.2"},"keywords":["answer","ask","cli","generate","generator","generators","inquirer","question","questions"],"gitHead":"c1d0fe1d4a9d12a02346ddad18d327408a19b8ce","_id":"question-cache@0.1.0","scripts":{},"_shasum":"a5a614ff063fa1218e486873c1a6809a02eaf609","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a5a614ff063fa1218e486873c1a6809a02eaf609","size":2849,"noattachment":false,"key":"/question-cache/-/question-cache-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/question-cache/download/question-cache-0.1.0.tgz"},"directories":{},"publish_time":1429418601308,"_cnpm_publish_time":1429418601308,"_hasShrinkwrap":false}},"readme":"# question-cache [![NPM version](https://img.shields.io/npm/v/question-cache.svg?style=flat)](https://www.npmjs.com/package/question-cache) [![NPM downloads](https://img.shields.io/npm/dm/question-cache.svg?style=flat)](https://npmjs.org/package/question-cache) [![Build Status](https://img.shields.io/travis/jonschlinkert/question-cache.svg?style=flat)](https://travis-ci.org/jonschlinkert/question-cache)\n\nA wrapper around inquirer that makes it easy to create and selectively reuse questions.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save question-cache\n```\n\n## Example\n\n```js\n'use strict';\n\nvar Store = require('data-store');\nvar hints = new Store('example-hints-store');\nvar questions = require('question-cache');\n\nquestions()\n  .use(function() {\n    this.on('ask', function(val, key, question) {\n      question.default = hints.get(key);\n    });\n    this.on('answer', function(val, key) {\n      hints.set(key, val);\n    });\n  })\n  .set('first', 'What is your first name?')\n  .set('last', 'What is your last name?')\n  .set('foo', 'What is foo?', {\n    when: function() {\n      // console.log(arguments)\n    }\n  })\n  .ask(function(err, answers) {\n    console.log(answers);\n  });\n```\n\n**Screen capture**\n\n<img width=\"669\" alt=\"screen shot 2015-07-13 at 8 05 20 am\" src=\"https://cloud.githubusercontent.com/assets/383994/8649221/00ecc908-2936-11e5-88d2-b1ab75a53ba0.png\">\n\nSee the [working examples](./examples).\n\n## Basic Usage\n\nSee the [working examples](./examples).\n\n```js\nvar questions = require('question-cache')();\n\n// question type \"input\" is used by default\nquestions\n  .set('name', 'What is your name?')\n  .ask('name', function (err, answers) {\n    console.log(answers);\n  });\n```\n\n**[inquirer2](https://github.com/jonschlinkert/inquirer2)**\n\nYou may optionally pass your own instance of inquirer to the constructor:\n\n```js\n// on the options\nvar questions = require('question-cache');\nvar questions = new Questions({\n  inquirer: require('inquirer2')\n});\n\n// or if inquirer is the only thing passed\nvar questions = new Questions(require('inquirer2'));\n```\n\n## Getting started\n\nquestion-cache is a wrapper around [inquirer2](https://github.com/jonschlinkert/inquirer2). If you have any issues related to the interface (like scrolling, colors, styling, etc), then please create an issue on the [inquirer2](https://github.com/jonschlinkert/inquirer2) project.\n\n**Asking questions**\n\nThe simplest way to ask a question is by passing a string and a callback:\n\n```js\nquestions.ask('name', function (err, answers) {\n  console.log(answers);\n});\n```\n\n**Ask all cached questions**\n\n```js\nquestions.ask(function (err, answers) {\n  console.log(answers);\n});\n```\n\n## API\n\n### [Questions](index.js#L27)\n\nCreate an instance of `Questions` with the given `options`.\n\n**Params**\n\n* `options` **{Object}**: question cache options\n\n**Example**\n\n```js\nvar Questions = new Questions(options);\n```\n\n### [.set](index.js#L88)\n\nCalls [addQuestion](#addQuestion), with the only difference being that `.set` returns the `questions` instance and `.addQuestion` returns the question object. So use `.set` if you want to chain questions, or `.addQuestion` if you need the created question object.\n\n**Params**\n\n* `name` **{Object|String}**: Question name, message (string), or question/options object.\n* `value` **{Object|String}**: Question message (string), or question/options object.\n* `options` **{Object|String}**: Question/options object.\n\n**Example**\n\n```js\nquestions\n  .set('drink', 'What is your favorite beverage?')\n  .set('color', 'What is your favorite color?')\n  .set('season', 'What is your favorite season?');\n\n// or\nquestions.set('drink', {\n  type: 'input',\n  message: 'What is your favorite beverage?'\n});\n\n// or\nquestions.set({\n  name: 'drink'\n  type: 'input',\n  message: 'What is your favorite beverage?'\n});\n```\n\n### [.addQuestion](index.js#L120)\n\nAdd a question to be asked at a later point. Creates an instance of [Question](#question), so any `Question` options or settings may be used. Also, the default `type` is `input` if not defined by the user.\n\n**Params**\n\n* `name` **{Object|String}**: Question name, message (string), or question/options object.\n* `value` **{Object|String}**: Question message (string), or question/options object.\n* `options` **{Object|String}**: Question/options object.\n\n**Example**\n\n```js\nquestions.addQuestion('drink', 'What is your favorite beverage?');\n\n// or\nquestions.addQuestion('drink', {\n  type: 'input',\n  message: 'What is your favorite beverage?'\n});\n\n// or\nquestions.addQuestion({\n  name: 'drink'\n  type: 'input',\n  message: 'What is your favorite beverage?'\n});\n```\n\n### [.choices](index.js#L162)\n\nCreate a \"choices\" question from an array of values.\n\n**Params**\n\n* `key` **{String}**: Question key\n* `msg` **{String}**: Question message\n* `items` **{Array}**: Choice items\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.choices('foo', ['a', 'b', 'c']);\n\n// or\nquestions.choices('foo', {\n  message: 'Favorite letter?',\n  choices: ['a', 'b', 'c']\n});\n```\n\n### [.list](index.js#L193)\n\nCreate a \"list\" question from an array of values.\n\n**Params**\n\n* `key` **{String}**: Question key\n* `msg` **{String}**: Question message\n* `list` **{Array}**: List items\n* `queue` **{String|Array}**: Name or array of question names.\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.list('foo', ['a', 'b', 'c']);\n\n// or\nquestions.list('foo', {\n  message: 'Favorite letter?',\n  choices: ['a', 'b', 'c']\n});\n```\n\n### [.rawlist](index.js#L224)\n\nCreate a \"rawlist\" question from an array of values.\n\n**Params**\n\n* `key` **{String}**: Question key\n* `msg` **{String}**: Question message\n* `list` **{Array}**: List items\n* `queue` **{String|Array}**: Name or array of question names.\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.rawlist('foo', ['a', 'b', 'c']);\n\n// or\nquestions.rawlist('foo', {\n  message: 'Favorite letter?',\n  choices: ['a', 'b', 'c']\n});\n```\n\n### [.expand](index.js#L255)\n\nCreate an \"expand\" question from an array of values.\n\n**Params**\n\n* `key` **{String}**: Question key\n* `msg` **{String}**: Question message\n* `list` **{Array}**: List items\n* `queue` **{String|Array}**: Name or array of question names.\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.expand('foo', ['a', 'b', 'c']);\n\n// or\nquestions.expand('foo', {\n  message: 'Favorite letter?',\n  choices: ['a', 'b', 'c']\n});\n```\n\n### [.confirm](index.js#L282)\n\nCreate a \"choices\" question from an array of values.\n\n**Params**\n\n* `queue` **{String|Array}**: Name or array of question names.\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.choices('foo', ['a', 'b', 'c']);\n// or\nquestions.choices('foo', {\n  message: 'Favorite letter?',\n  choices: ['a', 'b', 'c']\n});\n```\n\n### [.get](index.js#L301)\n\nGet question `name`, or group `name` if question is not found. You can also do a direct lookup using `quesions.cache['foo']`.\n\n**Params**\n\n* `name` **{String}**\n* `returns` **{Object}**: Returns the question object.\n\n**Example**\n\n```js\nvar name = questions.get('name');\n//=> question object\n```\n\n### [.has](index.js#L317)\n\nReturns true if `questions.cache` or `questions.groups` has question `name`.\n\n* `returns` **{String}**: The name of the question to check\n\n**Example**\n\n```js\nvar name = questions.has('name');\n//=> true\n```\n\n### [.del](index.js#L342)\n\nDelete the given question or any questions that have the given namespace using dot-notation.\n\n* `returns` **{String}**: The name of the question to delete\n\n**Example**\n\n```js\nquestions.del('name');\nquestions.get('name');\n//=> undefined\n\n// using dot-notation\nquestions.del('author');\nquestions.get('author.name');\n//=> undefined\n```\n\n### [.clearAnswers](index.js#L360)\n\nClear all cached answers.\n\n**Example**\n\n```js\nquestions.clearAnswers();\n```\n\n### [.clearQuestions](index.js#L375)\n\nClear all questions from the cache.\n\n**Example**\n\n```js\nquestions.clearQuestions();\n```\n\n### [.clear](index.js#L390)\n\nClear all cached questions and answers.\n\n**Example**\n\n```js\nquestions.clear();\n```\n\n### [.ask](index.js#L409)\n\nAsk one or more questions, with the given `options` and callback.\n\n**Params**\n\n* `queue` **{String|Array}**: Name or array of question names.\n* `options` **{Object|Function}**: Question options or callback function\n* `callback` **{Function}**: callback function\n\n**Example**\n\n```js\nquestions.ask(['name', 'description'], function(err, answers) {\n  console.log(answers);\n});\n```\n\n### [.normalize](index.js#L557)\n\nNormalize the given value to return an array of question keys.\n\n**Params**\n\n* **{[type]}**: key\n* `returns` **{[type]}**\n\n## Dot notation\n\nSee the [working examples](./examples).\n\nQestions may be cached using object-path notatation (e.g. `a.b.c`).\n\n**Example**\n\nAll of the following will be cached on the `name` object:\n\n```js\nquestions\n  .set('name.first', 'What is your first name?')\n  .set('name.middle', 'What is your middle name?')\n  .set('name.last', 'What is your last name?')\n```\n\n**Dot notation usage**\n\nWhen cached using dot-notation, there are a few different ways questions that may be asked.\n\n### Dot notation usage\n\n#### ask one\n\nAsk a single `name` question:\n\n```js\nquestions.ask('name.first', function (err, answers) {\n  console.log(answers);\n});\n```\n\n#### ask all \"name\" questions\n\nAsk all `name` questions, `first`, `middle` and `last`:\n\n```js\nquestions.ask('name', function (err, answers) {\n  console.log(answers);\n});\n```\n\n#### array of questions\n\nAsk specific questions on `name`:\n\n```js\nquestions.ask(['name.first', 'name.last'], function (err, answers) {\n  console.log(answers);\n});\n```\n\n#### ask all questions\n\nAsk specific questions on `name`:\n\n```js\nquestions\n  .set('name.first', {\n    message: 'What is your first name?',\n  })\n  .set('name.last', {\n    message: 'What is your last name?',\n  })\n  .set('foo', {\n    message: 'Any thoughts about foo?',\n  })\n\nquestions.ask(['name', 'foo'], function (err, answers) {\n  console.log(answers);\n});\n```\n\n#### nested questions\n\nAsk one question at a time, based on feedback:\n\n```js\nquestions.ask('name.first', function (err, answers) {\n  console.log(answers);\n  //=> {name: { first: 'Brian' }}\n\n  questions.ask('name.last', function (err, answers) {\n    console.log(answers);\n    //=> {name: { last: 'Woodward' }}\n  });\n});\n```\n\n## More examples\n\n### Mixture of dot notation and non-dot-notation\n\nGiven you have the following questions:\n\n```js\nquestions\n  .set('name.first', 'What is your first name?')\n  .set('name.last', 'What is your last name?')\n  .set('foo', 'Any thoughts about foo?')\n  .set('bar', 'Any thoughts about bar?')\n```\n\nThe following will ask questions: `name.first`, `name.last` and `foo`\n\n```js\nquestions.ask(['name', 'foo'], function (err, answers) {\n  console.log(answers);\n});\n```\n\n## About\n\n### Related projects\n\n* [ask-for-github-auth](https://www.npmjs.com/package/ask-for-github-auth): Prompt a user for their github authentication credentials and save the results. | [homepage](https://github.com/doowb/ask-for-github-auth \"Prompt a user for their github authentication credentials and save the results.\")\n* [ask-once](https://www.npmjs.com/package/ask-once): Only ask a question one time and store the answer. | [homepage](https://github.com/doowb/ask-once \"Only ask a question one time and store the answer.\")\n* [generate](https://www.npmjs.com/package/generate): Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the… [more](https://github.com/generate/generate) | [homepage](https://github.com/generate/generate \"Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.\")\n* [question-helper](https://www.npmjs.com/package/question-helper): Template helper that asks a question in the command line and resolves the template with… [more](https://github.com/doowb/question-helper) | [homepage](https://github.com/doowb/question-helper \"Template helper that asks a question in the command line and resolves the template with the answer.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(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).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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](https://github.com/jonschlinkert/question-cache/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on August 17, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/question-cache","bugs":{"url":"https://github.com/jonschlinkert/question-cache/issues"},"license":"MIT"}