{"_id":"ask-once","_rev":"4177604","name":"ask-once","description":"Only ask a question one time and store the answer.","dist-tags":{"latest":"0.6.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2026-03-01T21:39:02.000Z","created":"2015-08-07T21:05:31.914Z","0.6.2":"2015-10-24T05:16:27.919Z","0.6.1":"2015-10-22T00:00:28.925Z","0.6.0":"2015-10-21T23:55:49.907Z","0.5.1":"2015-10-15T18:49:19.346Z","0.5.0":"2015-10-14T15:30:57.716Z","0.4.3":"2015-09-22T16:50:18.318Z","0.4.1":"2015-09-22T16:35:19.621Z","0.4.0":"2015-09-22T15:30:10.888Z","0.3.1":"2015-08-31T18:31:34.703Z","0.3.0":"2015-08-17T16:32:58.223Z","0.2.3":"2015-08-11T00:41:41.971Z","0.2.2":"2015-08-11T00:07:01.595Z","0.2.1":"2015-08-10T01:44:59.979Z","0.2.0":"2015-08-10T01:31:04.519Z","0.1.1":"2015-08-07T21:11:26.016Z","0.1.0":"2015-08-07T21:05:31.914Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"versions":{"0.6.2":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.6.2","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"data-store":"^0.11.1","extend-shallow":"^2.0.1","get-value":"^1.2.1","isobject":"^2.0.0","lazy-cache":"^0.2.3","project-name":"^0.2.0","question-cache":"^0.3.3","set-value":"^0.2.0"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.2","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","inquirer":"^0.10.1","jshint-stylish":"^2.0.1","minimist":"^1.2.0","mocha":"^2.3.3","sinon":"^1.17.2"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"b749cb1922c6b6b498e64cc1afab26f9dd471a76","_id":"ask-once@0.6.2","_shasum":"0b5a2acfe5b648cd92e653be5fa9bac16a1acbc5","_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":"0b5a2acfe5b648cd92e653be5fa9bac16a1acbc5","size":4833,"noattachment":false,"key":"/ask-once/-/ask-once-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.6.2.tgz"},"directories":{},"publish_time":1445663787919,"_hasShrinkwrap":false,"_cnpm_publish_time":1445663787919,"_cnpmcore_publish_time":"2021-12-17T04:06:10.932Z"},"0.6.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.6.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"data-store":"^0.11.0","extend-shallow":"^2.0.1","get-value":"^1.2.1","isobject":"^2.0.0","lazy-cache":"^0.2.3","project-name":"^0.2.0","question-cache":"^0.3.1"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.2","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","inquirer":"^0.10.1","jshint-stylish":"^2.0.1","minimist":"^1.2.0","mocha":"^2.3.3","sinon":"^1.17.2"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"ec87089ecc253152665646f04813eae986609ac7","_id":"ask-once@0.6.1","_shasum":"bee62c59798c9e0f0565ecffc2dd74e8b37280a3","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"bee62c59798c9e0f0565ecffc2dd74e8b37280a3","size":4444,"noattachment":false,"key":"/ask-once/-/ask-once-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.6.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445472028925,"_hasShrinkwrap":false,"_cnpm_publish_time":1445472028925,"_cnpmcore_publish_time":"2021-12-17T04:06:11.125Z"},"0.6.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.6.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"data-store":"^0.11.0","extend-shallow":"^2.0.1","get-value":"^1.2.1","isobject":"^2.0.0","lazy-cache":"^0.2.3","project-name":"^0.2.0","question-cache":"^0.3.1"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.2","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","inquirer":"^0.10.1","jshint-stylish":"^2.0.1","minimist":"^1.2.0","mocha":"^2.3.3","sinon":"^1.17.2"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"788e02b0c299161d125bc2021c4b2a9e009b03db","_id":"ask-once@0.6.0","_shasum":"14cbfb9ec823b8ee12eaa4a3943e543be8070681","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"14cbfb9ec823b8ee12eaa4a3943e543be8070681","size":4489,"noattachment":false,"key":"/ask-once/-/ask-once-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.6.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445471749907,"_hasShrinkwrap":false,"_cnpm_publish_time":1445471749907,"_cnpmcore_publish_time":"2021-12-17T04:06:11.355Z"},"0.5.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.5.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"data-store":"^0.10.0","get-value":"^1.2.1","isobject":"^2.0.0","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.1","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","inquirer":"^0.9.0","jshint-stylish":"^2.0.1","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"88aa44d653c34553c94058b61379c96ce9ce83a7","_id":"ask-once@0.5.1","_shasum":"42b1d9197276ee31b874136b1af94d0e8237d8a6","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"42b1d9197276ee31b874136b1af94d0e8237d8a6","size":4440,"noattachment":false,"key":"/ask-once/-/ask-once-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.5.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1444934959346,"_hasShrinkwrap":false,"_cnpm_publish_time":1444934959346,"_cnpmcore_publish_time":"2021-12-17T04:06:11.567Z"},"0.5.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.5.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"data-store":"^0.10.0","get-value":"^1.2.1","isobject":"^2.0.0","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.1","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","inquirer":"^0.9.0","jshint-stylish":"^2.0.1","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"8d0bc0df7574de16e8d27df9756a8383b92fa613","_id":"ask-once@0.5.0","_shasum":"0b244e35b9628e016dbf9b37d2852ff1dfceff5b","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"0b244e35b9628e016dbf9b37d2852ff1dfceff5b","size":4432,"noattachment":false,"key":"/ask-once/-/ask-once-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.5.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1444836657716,"_hasShrinkwrap":false,"_cnpm_publish_time":1444836657716,"_cnpmcore_publish_time":"2021-12-17T04:06:11.769Z"},"0.4.3":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.4.3","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"inquirer":"^0.9.0","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"data-store":"^0.9.0","get-value":"^1.1.5","isobject":"^2.0.0","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3"},"gitHead":"3c0daa9cfc04f320caad591885e4ffa2ca9809b2","_id":"ask-once@0.4.3","_shasum":"44e054c7bf437db6a8e67955ff72f81b1fee4810","_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":"44e054c7bf437db6a8e67955ff72f81b1fee4810","size":4545,"noattachment":false,"key":"/ask-once/-/ask-once-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.4.3.tgz"},"directories":{},"publish_time":1442940618318,"_hasShrinkwrap":false,"_cnpm_publish_time":1442940618318,"_cnpmcore_publish_time":"2021-12-17T04:06:12.023Z"},"0.4.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.4.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"inquirer":"^0.9.0","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"data-store":"^0.9.0","get-value":"^1.1.5","isobject":"^2.0.0","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3"},"gitHead":"d54ab8ccab402599f9639bea30c08bf8759aa2b0","_id":"ask-once@0.4.1","_shasum":"ee3479becba0c72daa99cf6c79b9dd6adbda3f64","_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":"ee3479becba0c72daa99cf6c79b9dd6adbda3f64","size":4590,"noattachment":false,"key":"/ask-once/-/ask-once-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.4.1.tgz"},"directories":{},"publish_time":1442939719621,"_hasShrinkwrap":false,"_cnpm_publish_time":1442939719621,"_cnpmcore_publish_time":"2021-12-17T04:06:12.225Z"},"0.4.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.4.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"inquirer":"^0.9.0","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"data-store":"^0.9.0","get-value":"^1.1.5","isobject":"^2.0.0","lazy-cache":"^0.2.3","mixin-deep":"^1.1.3"},"gitHead":"d54ab8ccab402599f9639bea30c08bf8759aa2b0","_id":"ask-once@0.4.0","_shasum":"d14f135b65e1e87c2bd097fa8f93d8869b0564a9","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d14f135b65e1e87c2bd097fa8f93d8869b0564a9","size":4450,"noattachment":false,"key":"/ask-once/-/ask-once-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.4.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1442935810888,"_hasShrinkwrap":false,"_cnpm_publish_time":1442935810888,"_cnpmcore_publish_time":"2021-12-17T04:06:12.449Z"},"0.3.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.3.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"inquirer":"^0.9.0","minimist":"^1.2.0","mocha":"*","question-cache":"^0.3.0"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"data-store":"^0.9.0","get-value":"^1.1.5","isobject":"^2.0.0","lazy-cache":"^0.2.3"},"gitHead":"582687cfee8b78d6df54dcd05f9b3b0cee6ab1ba","_id":"ask-once@0.3.1","_shasum":"9c4f15772863ca6b9d63a6cc49ddb6b24e27abad","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"9c4f15772863ca6b9d63a6cc49ddb6b24e27abad","size":4339,"noattachment":false,"key":"/ask-once/-/ask-once-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.3.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1441045894703,"_hasShrinkwrap":false,"_cnpm_publish_time":1441045894703,"_cnpmcore_publish_time":"2021-12-17T04:06:12.653Z"},"0.3.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.3.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.2.1"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"data-store":"^0.8.1","get-value":"^1.1.5","lazy-cache":"^0.1.0"},"gitHead":"664cde9333a8154c8fca37fa14c8121631b466db","_id":"ask-once@0.3.0","_shasum":"2dabe75ce2bb168323d55f390a723c912cb4bc24","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"2dabe75ce2bb168323d55f390a723c912cb4bc24","size":3824,"noattachment":false,"key":"/ask-once/-/ask-once-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.3.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1439829178223,"_hasShrinkwrap":false,"_cnpm_publish_time":1439829178223,"_cnpmcore_publish_time":"2021-12-17T04:06:12.890Z"},"0.2.3":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.2.3","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.2.1"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"get-value":"^1.1.5"},"gitHead":"bdbe6b79e696d9cb1a186524136808230f00ff89","_id":"ask-once@0.2.3","_shasum":"00111b98f601a3070762bc389d0d000aeb1987aa","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"00111b98f601a3070762bc389d0d000aeb1987aa","size":3533,"noattachment":false,"key":"/ask-once/-/ask-once-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.2.3.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1439253701971,"_hasShrinkwrap":false,"_cnpm_publish_time":1439253701971,"_cnpmcore_publish_time":"2021-12-17T04:06:13.096Z"},"0.2.2":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.2.2","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.2.1"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"dependencies":{"get-value":"^1.1.5"},"gitHead":"017fbfec83207f654a09fbdaf88171456f649170","_id":"ask-once@0.2.2","_shasum":"b0ac937700f649354e8ce1ff34837f7a1634f08a","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"b0ac937700f649354e8ce1ff34837f7a1634f08a","size":3505,"noattachment":false,"key":"/ask-once/-/ask-once-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.2.2.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1439251621595,"_hasShrinkwrap":false,"_cnpm_publish_time":1439251621595,"_cnpmcore_publish_time":"2021-12-17T04:06:13.279Z"},"0.2.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.2.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.2.1"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"2930e17eb67e0c6c451acdcb80acb59c80ea563d","_id":"ask-once@0.2.1","_shasum":"7af615a874a1d510477a6bd28d7e5c5c0ab792aa","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"7af615a874a1d510477a6bd28d7e5c5c0ab792aa","size":3477,"noattachment":false,"key":"/ask-once/-/ask-once-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.2.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1439171099979,"_hasShrinkwrap":false,"_cnpm_publish_time":1439171099979,"_cnpmcore_publish_time":"2021-12-17T04:06:13.515Z"},"0.2.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.2.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.2.1"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"366c871a0d0817ebceb8df37fc67aff0e9eb42be","_id":"ask-once@0.2.0","_shasum":"ae756d3d6b3287619e5930229fb797906a6b72e0","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"ae756d3d6b3287619e5930229fb797906a6b72e0","size":3094,"noattachment":false,"key":"/ask-once/-/ask-once-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.2.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1439170264519,"_hasShrinkwrap":false,"_cnpm_publish_time":1439170264519,"_cnpmcore_publish_time":"2021-12-17T04:06:13.721Z"},"0.1.1":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.1.1","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.1.3"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"df79d0780b7aab6c91c202afb916fdb1b7ec7e95","_id":"ask-once@0.1.1","_shasum":"69a5b44f3756dbe484d75351327dfff8f3637702","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"69a5b44f3756dbe484d75351327dfff8f3637702","size":2869,"noattachment":false,"key":"/ask-once/-/ask-once-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.1.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1438981886016,"_hasShrinkwrap":false,"_cnpm_publish_time":1438981886016,"_cnpmcore_publish_time":"2021-12-17T04:06:13.947Z"},"0.1.0":{"name":"ask-once","description":"Only ask a question one time and store the answer.","version":"0.1.0","homepage":"https://github.com/doowb/ask-once","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/ask-once.git"},"bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"data-store":"^0.8.1","inquirer":"^0.9.0","minimist":"^1.1.3","mocha":"*","question-cache":"^0.1.3"},"verb":{"related":{"list":["question-cache","question-helper","inquirer","data-store"]}},"gitHead":"393664ae6b57eb0bcfe82a3c6857c4ab07e0dfb5","_id":"ask-once@0.1.0","_shasum":"803a97b13835cfb9263f24bf8130665930227060","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"803a97b13835cfb9263f24bf8130665930227060","size":2868,"noattachment":false,"key":"/ask-once/-/ask-once-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ask-once/download/ask-once-0.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1438981531914,"_hasShrinkwrap":false,"_cnpm_publish_time":1438981531914,"_cnpmcore_publish_time":"2021-12-17T04:06:14.160Z"}},"readme":"# ask-once [![NPM version](https://badge.fury.io/js/ask-once.svg)](http://badge.fury.io/js/ask-once)  [![Build Status](https://travis-ci.org/doowb/ask-once.svg)](https://travis-ci.org/doowb/ask-once)\n\n> Only ask a question one time and store the answer.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i ask-once --save\n```\n\n## Usage\n\n```js\nvar ask = require('ask-once')();\n```\n\n**Ask a question**\n\n```js\nask.once('May I have your username?', function (err, answer) {\n  console.log(answer);\n});\n```\n\nThe user's answer is saved, and the question won't be asked again unless:\n\n* `force: true` is passed on the options, or\n* the answer is deleted directly\n\n## FAQ\n\n**Where are the answers stored?**\n\nThe user's answers are saved on a global config store that is uniquely identified to the application using `ask-once`.\n\n**Can I change where answers are stored?**\n\nYes, you can pass the name of a [data-store](https://github.com/jonschlinkert/data-store) with the `cwd` option set to whatever you want it to be. Here's an example:\n\n```js\n// pass the name of a data-store, so you can use\n// whatever storage location you want\nvar ask = require('ask-once')({\n  store: {\n    name: 'foo',\n    cwd: 'bar'\n  }\n});\n\nask.once('May I have your username?' function (err, answer) {\n  console.log(answer);\n});\n```\n\n## Docs\n\n### options\n\n> To re-ask questions or reset the stored values:\n\n* `options.force`: will re-ask the given question or questions, regardless of whether or not previously stored values exists.\n* `options.init`: will **delete the entire store** and start over again.\n\n### API\n\n### [Ask](index.js#L27)\n\nReturns a question-asking function that only asks a question if the answer is not already stored, or if forced.\n\n**Params**\n\n* `options` **{Object}**\n* `options.questions` **{Object}**: (optional) Options to be passed to [question-cache](https://github.com/jonschlinkert/question-cache)\n* `options.store` **{Object}**: (optional) Options to be passed to [data-store](https://github.com/jonschlinkert/data-store)\n\n**Example**\n\n```js\nvar ask = new Ask({questions: questions});\n```\n\n### [.set](index.js#L64)\n\nSet answer `key` with the given `value`. Answers are cached in memory on the `ask.answers.data` object, and they are also persisted to disk.\n\n**Params**\n\n* `key` **{String}**\n\n**Example**\n\n```js\nask.set('a', 'b');\nconsole.log(ask.answers.data.a)\n//=> 'b'\n```\n\n### [.get](index.js#L81)\n\nGet answer `key` from the answer store.\n\n**Params**\n\n* `key` **{String}**\n\n**Example**\n\n```js\nask.set('a', 'b');\nask.get('a');\n//=> 'b'\n```\n\n### [.del](index.js#L98)\n\nDelete an answer from the answer store.\n\n**Params**\n\n* `key` **{String|Array|Object}**: Pass a string or array of keys, or `{force: true}` to wipe out the entire store.\n\n**Example**\n\n```js\nask.del('foo');\nask.del(['foo', 'bar']);\n// delete the entire store\nask.del({force: true});\n```\n\n### [.once](index.js#L114)\n\nAsk a question only if the answer is not already stored. If\nthe answer is passed on the options the question is bypassed\nand the answer is be returned.\n\n**Params**\n\n* `question` **{String}**: Key of the question to ask.\n* `options` **{Object}**: Answers or options to force re-asking questions.\n* `cb` **{Function}**: Callback function with `err` and `answer`.\n\n## Examples\n\nFirst time the program is run, the user is prompted to answer a question:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158076/78bf87e6-3ede-11e5-8bbc-dac8a55353c2.png)](https://www.npmjs.com/)\n\nAdditional runs of the program will skip prompting the user:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158091/ec592b58-3ede-11e5-8f18-4fc4b1327d2b.png)](https://github.com/jonschlinkert/data-store)\n\nPassing the `init` option will delete all the stored answers and prompt the user to answer the question again:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158111/22e24ff6-3edf-11e5-95c9-bc2314367557.png)](index.js#L27)\n\nAdditional runs after clearing the stop will return the newly saved answer:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158120/43c16d60-3edf-11e5-8d85-a98b029fd743.png)](https://github.com/jonschlinkert/question-cache)\n\nPassing the `force` option will force the question to be asked:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158137/740bef0e-3edf-11e5-898d-d9ce72f28ad2.png)](https://github.com/jonschlinkert/data-store)\n\nAdditional runs after forcing the question, will return the newly saved answer:\n\n[![image](https://cloud.githubusercontent.com/assets/995160/9158144/8fd63550-3edf-11e5-8daa-b19fa251bc66.png)](index.js#L64)\n\n## Related projects\n\n* [data-store](https://www.npmjs.com/package/data-store): Easily get, set and persist config data. | [homepage](https://github.com/jonschlinkert/data-store)\n* [inquirer](https://www.npmjs.com/package/inquirer): A collection of common interactive command line user interfaces. | [homepage](https://github.com/sboudrias/Inquirer.js#readme)\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-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://www.npmjs.com/package/question-helper) | [homepage](https://github.com/doowb/question-helper)\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/doowb/ask-once/issues/new).\n\n## Author\n\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\n\nCopyright © 2015 Brian Woodward\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 24, 2015._","_attachments":{},"homepage":"https://github.com/doowb/ask-once","bugs":{"url":"https://github.com/doowb/ask-once/issues"},"license":"MIT"}