{"_id":"sync-prompt","_rev":"37-a163ffd756b17690b88650471742b442","name":"sync-prompt","description":"The missing prompt function for Node.js","dist-tags":{"latest":"0.4.2"},"versions":{"0.0.0":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.0.0","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"node test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./build/Release/sync_prompt","gypfile":true,"_id":"sync-prompt@0.0.0","dist":{"shasum":"f09cf8091021d02d59c20742f88fad5f4d26f8be","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.0.0.tgz","integrity":"sha512-+P+0iVA42GTUMqwkp5+3PWqSso5x9dkxjTdTdKmdssRMNigt4sPqg2kEaakd3DjQi0G5zsg7CrrY0bDt0NvqgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxv5Tmr3JiHM2SvvUkp7lg5WxyMEjPBZFrLbl8VQUA1wIgAN782q4kyf8KJ3AlZprIErwxpEY3bT3eTdBCp9g2VXo="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.1":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.0.1","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"node test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./build/Release/sync_prompt","gypfile":true,"_id":"sync-prompt@0.0.1","dist":{"shasum":"6a6ddc27131a214621239dc29d8271c59a756df6","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.0.1.tgz","integrity":"sha512-V2ZAVdrzYZoXjONbDOnujKau9XiehUmAG0Y/zKXNVg1PevvQXmbq0bY4mB4IhRTFracbV0+F5Py0vJg+Q4kYCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM7d1iNWg1oFjKrgOpyINGnh7Q11Yb440saKIiD2qDRAIhAJA2KggOx+CstIk1CWCb021QZOWl5FmdB3+SXsYaNCp2"}]},"_npmVersion":"1.2.0","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.0":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.1.0","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0"},"gypfile":true,"_id":"sync-prompt@0.1.0","dist":{"shasum":"3b7b6a43851f9addb257b5fe1be149281100b3e1","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.1.0.tgz","integrity":"sha512-0F0UoOEa7kiNiGO6QMx8HRYaQGsWi771gAOjBzYoOhTI+3dOLowjG0KyhpRAz4BXvqmpgo0G6OvKqZn51ywNYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASXYHowMBJzpg5mTrSEqQy5gC72Kn4Crho2hcf7AKm3AiEAtPU/E0Eg24Wm4k3MfWqDZDiGdnt6f68X7xjj+iQozCQ="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.2.0","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.2.0","dist":{"shasum":"9f859ce93dd9cb25113011fa2cff8a1c153ea631","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.2.0.tgz","integrity":"sha512-Sb7TCQRHFppSbGGXo8EmnPpc3FpABGajyqMA7nRM2qfH5gvm/knudu0CWY5IE0Ul7ccILMqVOlF6q8vhu+Z63Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGeyUr0UiLZOaXwu7F8aZkijAAY9Qk53Tlr1cbWxoEPAiEA9iQeNdTkk3LHIPWx9yrOsyElJ7TiHdVvAjw33igfC44="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.1":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.2.1","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.2.1","dist":{"shasum":"338fa4155396b6d26fd3fc05b351fea58c977b04","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.2.1.tgz","integrity":"sha512-9JXmQunaGBYJZ52bmqJ+Y7gkeSxajxQ08baE15DVyfxN01bwKDqGTjND3fJQ7rBpI6uSxLEv7epZ9OgKVMHSSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbkEvc6DV1M8SWYmC5gE6XuBAy/6/ldwp/y8IblO7aZAIhAL0KOwpqpCZRVAx99wEvfM2q1n3hzyl44yi4GA/9IuxN"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.2":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.2.2","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.2.2","dist":{"shasum":"dc48b36e2961e87650a8600ac122ff1ca4267c2e","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.2.2.tgz","integrity":"sha512-T4a0nELVgsmT1Wc7KlI0CXBU0nZPHpWN+VD0NP7AdZuaQHFMS3IOMsPitcCkDAbALPcIIkA4jdBgPFYEEAjf8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYa1MUQ8V6ZYWBYJCWKLiA3IjBuAzNiWJ5IvHcWHI7yAiEAkrdk22JMfgMg2TPCEPRgWnwZ76PwQj3FKKOezxlO6tc="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.1":{"name":"sync-prompt","description":"Synchronously prompt your user for command-line input.","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io"],"version":"0.3.1","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.3.1","dist":{"shasum":"b31ff9108e10543dc1c6ae976cac8250f072e131","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.3.1.tgz","integrity":"sha512-8n9b/jondwbueC7OQrAwyg1RliHgqMVMWOaeXT08g4gNJrqP+Ts25WNQzuz82aebgwa3zg4vb8YCyQ146cFefQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDon89ShRysDXt7M5E5ZeZt/ZQ+4Fe6b+XpPR9QOZgR5AiAnPWBmYjhigMc1lzFXA/xiaUbxpzsdOXn3icWlvBoCDA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.2":{"name":"sync-prompt","description":"The missing prompt function for Node.js","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"version":"0.3.2","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.3.2","dist":{"shasum":"09821fa5e8bce4087877ee7504bb71fe67e9ab3a","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.3.2.tgz","integrity":"sha512-2uWdPaHXdwjT+8TgTifXbAjVFNPal6aRRI73rK5XzjvPZlZml+9YWyAI17xfygqVXyaXo+pcC92HdqKNZnGXvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+49Q+HyBclbtHUoM9QgzudUEbr8Jf6o+JiIGvIWSgGAIgSZu2+fuzAgdfG3zX6VM2J66TKLn9UpuAVSu0f94wXFI="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.3-beta":{"name":"sync-prompt","description":"The missing prompt function for Node.js","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"version":"0.3.3-beta","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.3.3-beta","dist":{"shasum":"b7635cec6d58076ebd98166147304282afd06e1e","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.3.3-beta.tgz","integrity":"sha512-ucQwQYGItoTcuTJIDBXS/KOvuz6vtcYGxbngxQdrVjgoHc5P7JV+OJO84QY4F2hhCwoyi+FFYyHG0JArlaZ6aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd+az6sbNb59oudP5BgRkq8d+ebqU9VlV6wzeNil9PMQIhAOXOROm6eA0jDYbc8+N8lmtRsJ9GfpmlzAM9CHQ34rq9"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.0":{"name":"sync-prompt","description":"The missing prompt function for Node.js","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"version":"0.4.0","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.4.0","dist":{"shasum":"c29b2d461121fa24d0afd30e8f7435cbb549328d","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.4.0.tgz","integrity":"sha512-tYTaZRo+g2wU7IJ9clpuTl/5HK4LjrutFyugNm3Mk9RnAgrmU9QTBANfbZWQh6bDJGEgPdVYx2clrYE5ZrZkCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeUIF0b+e4121mUGwwIZNwaImhme43apEoy+g9Kqe+0gIhALjsVIJC///Oed9zFQtJzk/zmgSTH6JfdaeLolPgWNNV"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.1":{"name":"sync-prompt","description":"The missing prompt function for Node.js","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"version":"0.4.1","author":{"name":"Salehen Shovon Rahman","email":"salehen.rahman@gmail.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"_id":"sync-prompt@0.4.1","dist":{"shasum":"9adc8f13715fc799d0749a427a0b998a58669f1c","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.4.1.tgz","integrity":"sha512-CAEuf8IBVQKrtPWN0D8ljT60mpHfeKMOVERlg2UJIJFhVMqtOvn+dUQcD86C3JQLcOqDqSHFl2Bn0UD/2FneOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2/z9FFVe0moGQ2syBRR53zA4xmvtE6eigTBIqIDLk3wIhANWJhe1K89xUhuJZ3ZxtxsQfPRWr/ph8W3BBK1PmzTvM"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shovon","email":"salehen.rahman@gmail.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.2":{"name":"sync-prompt","description":"The missing prompt function for Node.js","homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"version":"0.4.2","author":{"name":"Salehen Shovon Rahman","email":"sal@linux.com","url":"http://shovon.github.io"},"scripts":{"test":"./node_modules/mocha/bin/mocha && ./node_modules/jshint/bin/jshint .","coverage":"./node_modules/istanbul/lib/cli.js cover _mocha -- -u exports -R spec","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","install":"node-gyp rebuild"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"main":"./lib/sync-prompt","devDependencies":{"sinon":"~1.7.3","jshint":"~2.1.4","mocha":"~1.12.0","istanbul":"~0.1.44","coveralls":"~2.3.0","mocha-lcov-reporter":"0.0.1"},"gypfile":true,"gitHead":"088a39c65c5efc4cef94717ea6ff6ad7869fc17e","_id":"sync-prompt@0.4.2","_shasum":"9bf28c298dbd362189713087c277b4e903aaf371","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"shovon","email":"sal@linux.com"},"maintainers":[{"name":"shovon","email":"salehen.rahman@gmail.com"}],"dist":{"shasum":"9bf28c298dbd362189713087c277b4e903aaf371","tarball":"https://registry.npmjs.org/sync-prompt/-/sync-prompt-0.4.2.tgz","integrity":"sha512-dncPe9Z0PfBG5frV0XKCxDHHU7fuy44T7ln7PncmAzGugW9HRH8CI5nAQdhIOqRoyAvS0LNdMFBfuNtiMkT/Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUYN98hDu2JvB0pelyw/hO2fLWeIQtxZ0Dc0dwyHf8tAiEAgz0nQV81ZTTjqXdRH3m6I0QWLRYTA9357hFB5BfzsrE="}]},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"# sync-prompt\n\n**The missing prompt function for Node.js**\n\n[![Build Status](https://travis-ci.org/shovon/sync-prompt.png)](https://travis-ci.org/shovon/sync-prompt) [![Dependency Status](https://gemnasium.com/shovon/sync-prompt.png)](https://gemnasium.com/shovon/sync-prompt) [![Coverage Status](https://coveralls.io/repos/shovon/sync-prompt/badge.png)](https://coveralls.io/r/shovon/sync-prompt) [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=shovon&url=https://github.com/shovon/sync-prompt&title=Synchronous%20Prompt%20for%20Node.js&language=English&tags=github&category=software)\n\nYou know how the browser has the `prompt` function that *actually* returns what the user entered, and not just require that you grab the value via a callback? Welp, Node.js doesn't have one, until now! Just like in the browser, call `prompt` and you should be able to prompt users via the command line! No callback hell!\n\n## Usage\n\nSimply run `npm install sync-prompt`, and you should be good to go.\n\nExample usage:\n\n```javascript\nvar prompt = require('sync-prompt').prompt;\n\nvar name = prompt('What is your name? ');\n// User enters \"Mike\".\n\nconsole.log('Hello, ' + name + '!');\n// -> Hello, Mike!\n\nvar password = prompt.hidden('Password: ');\n// User enters a password, but nothing will be written to the screen.\n```\n\n## API\n\n### `.prompt([question [, hidden = false]])`\n\nWhen called, it will prompt the user for a command-line input.\n\n#### Parameters\n\n**question**\n\nType: `string`. Default value: undefined. Optional\n\nWhen set to a string, the value of `question` will be outputed to the console.\n\n**hidden** Deprecated\n\nType: `boolean`. Default value: undefined. Optional, but requires `question` to be set to a string.\n\n**Please consider avoiding the use of `.prompt('some qustion', true)` for hiding what the user types. Instead, consider using the more descriptive, and--what many would argue--self-documenting `.prompt.hidden('some question')`. The former is deprecated, and will be removed in a future release. The latter makes more sense when you want to implement hidden prompts :).**\n\nWhen set to true, none of the user's input will be written to the console. This is great for passwords.\n\n### `.prompt.hidden([question])`\n\nWhen called, it will prompt the user for a command-line input, while whatever is typed will not be echoed out to the screen.\n\n#### Parameters\n\n**question**\n\nType `string`. Default value: undefined. Optional\n\nWhen set to a string, the value of `question` will be outputed to the console.\n\n### `.prompt.isEOF()`\n\nReturns true if the console input (stdlib's cin) has reached EOF. False otherwise.\n\n## Running Tests\n\nBe sure that you have the dependencies installed, locally, for the project:\n\n```shell\nnpm install\n```\n\nAnd then run the tests:\n\n```shell\nnpm test\n```\n\n### Code Coverage\n\nYou can run\n\n```shell\nnpm run coverage\n```\n\nAnd see a summary of the code coverage on the command line.\n\nYou can get an in-depth coverage report in the generated `coverage/lcov-report/index.html` file.\n\n## Licence\n\nUnless stated in file headers, the license is found in the `LICENSE` file.","maintainers":[{"email":"npm@npmjs.com","name":"npm"}],"time":{"modified":"2022-11-14T14:47:16.627Z","created":"2013-05-26T07:58:15.509Z","0.0.0":"2013-05-26T07:58:32.797Z","0.0.1":"2013-07-15T18:12:08.308Z","0.1.0":"2013-07-29T00:58:53.336Z","0.2.0":"2013-11-17T16:53:06.805Z","0.2.1":"2013-11-17T16:57:24.659Z","0.2.2":"2013-11-19T04:24:43.865Z","0.3.0":"2014-06-07T18:38:58.578Z","0.3.1":"2014-06-08T02:16:10.193Z","0.3.2":"2014-06-08T02:33:13.605Z","0.3.3-beta":"2014-06-08T09:05:28.375Z","0.4.0":"2014-06-11T19:04:00.764Z","0.4.1":"2014-06-21T21:08:07.064Z","0.4.2":"2015-03-08T01:12:30.514Z"},"author":{"name":"Salehen Shovon Rahman","email":"sal@linux.com","url":"http://shovon.github.io"},"repository":{"type":"git","url":"https://github.com/shovon/sync-prompt.git"},"homepage":"https://github.com/shovon/sync-prompt","keywords":["command","line","io","cli","commandline","commandlineinterface","commandlineinput","input","output","stdin","synchronous"],"bugs":{"url":"https://github.com/shovon/sync-prompt/issues"},"license":{"type":"MIT","url":"https://github.com/shovon/blob/master/LICENSE"},"readmeFilename":"README.md","users":{"lokua":true,"jacoborus":true,"jamesmgreene":true,"cel":true}}