{"_id":"universal-prompt","_rev":"1-53a6b938d928c0a7f34640e09a9c17ce","name":"universal-prompt","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"universal-prompt","version":"1.0.0","description":"Use `prompt()` in node and the browser","main":"index.js","browser":"browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 0"},"repository":{"type":"git","url":"git+https://github.com/RangerMauve/universal-prompt.git"},"keywords":["prompt","browser","node","universal","polyfill"],"author":{"name":"rangermauve"},"license":"MIT","bugs":{"url":"https://github.com/RangerMauve/universal-prompt/issues"},"homepage":"https://github.com/RangerMauve/universal-prompt#readme","dependencies":{"prompt-sync":"^4.1.7"},"gitHead":"11ebabb3668f7e1f54f667416d2934f4f29ecdf0","_id":"universal-prompt@1.0.0","_nodeVersion":"11.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LZtb7k8CTaJaydP1tDpMsw/jlk6N9z9ZltasaLrYUABhBMplKgfr1z5/0+i8xTvjo5DZUB6LJVqzar5dygXUww==","shasum":"1624fc7eff23dda68d05c92ca3f25df93bf46cb4","tarball":"https://registry.npmjs.org/universal-prompt/-/universal-prompt-1.0.0.tgz","fileCount":6,"unpackedSize":2357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZGUXCRA9TVsSAnZWagAALgUP/3PudBbx4Mxt3i0dHAby\nJanPQwxwwBMsxUDnge4N60wCoGrzM5zR3P278AQj4yCfAlWduiCuSWoSvUgx\nVXOTM9cmxUIv03SXoQJgYtCRF/ydw9Q1K0DpUSnat4rQ4y/C5lE1f9eL0cGR\nSO+KWlLKWDkswmTZbK1PIw4P3+RNvCXwhTdQusvVvtoDz2o1BP76IDtUet5S\np2LIpT3Vv8ihH0dEpEpat3unYkQrGaRP3WfTEOGAV6OO0xHwgGWRnbX5fx0S\nxI/Oa14Mn1rfu+9YFaSyRu5f1Y90w3eefvNKYIT4YVa0hkWNMgitydq/RxGY\niT17SZKr0oo4PE3a6BecWeOiVPNdfPVeN/83D3M9aUCaiRhXZRwDAmlNi7S3\nWb6J/KCAEmTiXIBMw67nB7VbwCHQ3AHfCL0dK75EGdWoIqRlRyuUJQzhgGz4\n5BKNpOj8ZR/GPnTb2fXn5INLQ4ZO9QEWnhV87FtczYk3LzblxwhR8UBuyVR6\nOWl3dgEdjrv8icdFhJD2LnD/+SNl1+jLevt1QOfXKv5qSHL93YF8L0QuIrxj\nWZQry/5lTg0/PVrAz3GmZ0roEa/N4qiPVz5blhYnUjem5q8AEFFinLWY4Ehb\nHlNQ3LSUkWoMumzG01N5ZI96+fKHjH+5Y/aGZuAe6QjsNYcpTzd71HKSWB9a\nkF0a\r\n=5Z2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD21TAtU7TMKgDCZzf638vQhAxtd8hPLX6sRIumH/rJVwIhAPkdl9LB+fHvH0R3ZfYsfIPP2qnRJMCbbrWuciWzyalY"}]},"maintainers":[{"name":"rangermauve","email":"rangermauve@hotmail.com"}],"_npmUser":{"name":"rangermauve","email":"rangermauve@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-prompt_1.0.0_1566860566585_0.9769374465522944"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-26T23:02:46.584Z","1.0.0":"2019-08-26T23:02:46.757Z","modified":"2022-05-22T19:27:59.057Z"},"maintainers":[{"name":"rangermauve","email":"rangermauve@hotmail.com"}],"description":"Use `prompt()` in node and the browser","homepage":"https://github.com/RangerMauve/universal-prompt#readme","keywords":["prompt","browser","node","universal","polyfill"],"repository":{"type":"git","url":"git+https://github.com/RangerMauve/universal-prompt.git"},"author":{"name":"rangermauve"},"bugs":{"url":"https://github.com/RangerMauve/universal-prompt/issues"},"license":"MIT","readme":"# universal-prompt\nUse `prompt()` in node and the browser\n\n```\nnpm i -s universal-prompt\n```\n\n```js\nconst prompt = require('universal-prompt')\n\nconst result = prompt('Please type something and press enter: ')\n\nconsole.log(`You typed \"${result}\"`)\n```\n\n**Note: Probably won't work in web workers since they don't provide a 'prompt' function.**\n","readmeFilename":"README.md"}