{"_id":"password-prompt","_rev":"4160327","name":"password-prompt","description":"cross-platform masked or hidden prompt","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"time":{"modified":"2026-03-01T20:38:20.000Z","created":"2016-08-01T20:55:51.460Z","1.1.3":"2023-07-25T22:30:48.378Z","1.1.2":"2019-02-20T13:45:39.815Z","1.1.0":"2019-02-19T17:42:47.415Z","1.0.7":"2018-08-03T19:29:01.131Z","1.0.6":"2018-05-10T07:21:42.920Z","1.0.5":"2018-05-06T03:59:49.386Z","1.0.4":"2018-01-20T05:20:19.911Z","1.0.3":"2017-09-09T01:00:18.646Z","1.0.2":"2016-08-01T21:10:30.177Z","1.0.1":"2016-08-01T20:56:24.220Z","1.0.0":"2016-08-01T20:55:51.460Z"},"users":{"wolfram77":true},"author":{"name":"Jeff Dickey @jdxcode"},"repository":{"type":"git","url":"git+https://github.com/jdxcode/password-prompt.git"},"versions":{"1.1.3":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.1.3","author":{"name":"Jeff Dickey @jdxcode"},"bugs":{"url":"https://github.com/jdxcode/password-prompt/issues"},"dependencies":{"ansi-escapes":"^4.3.2","cross-spawn":"^7.0.3"},"devDependencies":{"jsdoc-to-markdown":"^8.0.0","standard":"^17.1.0"},"homepage":"https://github.com/jdxcode/password-prompt","keywords":["cli","input","password","prompt"],"license":"0BSD","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jdxcode/password-prompt.git"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","version":"standard --fix && git add index.js && npm run docs && git add README.md"},"gitHead":"692f0327a6efb479feaabc0fb97b7119b4464c92","_id":"password-prompt@1.1.3","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"shasum":"05e539f4e7ca4d6c865d479313f10eb9db63ee5f","size":1973,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.1.3.tgz"},"_npmUser":{"name":"dickeyxxx","email":"npm@jdxcode.com"},"directories":{},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.1.3_1690324248168_0.8576907921901042"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-25T22:30:48.378Z","publish_time":1690324248378,"_source_registry_name":"default","_cnpm_publish_time":1690324248378},"1.1.2":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.1.2","author":{"name":"Jeff Dickey @jdxcode"},"bugs":{"url":"https://github.com/jdxcode/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.1.0","cross-spawn":"^6.0.5"},"devDependencies":{"jsdoc-to-markdown":"^4.0.1","standard":"^11.0.1"},"homepage":"https://github.com/jdxcode/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"https://github.com/jdxcode/password-prompt"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","version":"standard --fix && git add index.js && npm run docs && git add README.md"},"_id":"password-prompt@1.1.2","dist":{"shasum":"85b2f93896c5bd9e9f2d6ff0627fa5af3dc00923","size":2032,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.1.2.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmUser":{"name":"dickeyxxx","email":"npm@jdxcode.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.1.2_1550670339551_0.9929091007823307"},"_hasShrinkwrap":false,"publish_time":1550670339815,"_cnpm_publish_time":1550670339815},"1.1.0":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.1.0","author":{"name":"Jeff Dickey @jdxcode"},"bugs":{"url":"https://github.com/jdxcode/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.1.0","cross-spawn":"^6.0.5"},"devDependencies":{"jsdoc-to-markdown":"^4.0.1","standard":"^11.0.1"},"homepage":"https://github.com/jdxcode/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"https://github.com/jdxcode/password-prompt"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","version":"standard --fix && git add index.js && npm run docs && git add README.md"},"_id":"password-prompt@1.1.0","dist":{"shasum":"6aca8ba62a5c0c4dfe5957b2760db1fc1d0fe7ac","size":2023,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.1.0.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmUser":{"name":"elbandito","email":"longoria.public@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.1.0_1550598167241_0.547448197305906"},"_hasShrinkwrap":false,"publish_time":1550598167415,"_cnpm_publish_time":1550598167415},"1.0.7":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.7","author":{"name":"Jeff Dickey @jdxcode"},"bugs":{"url":"https://github.com/jdxcode/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.1.0","cross-spawn":"^6.0.5"},"devDependencies":{"jsdoc-to-markdown":"^4.0.1","standard":"^11.0.1"},"files":["index.js"],"homepage":"https://github.com/jdxcode/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"https://github.com/jdxcode/password-prompt"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","version":"standard --fix && git add index.js && npm run docs && git add README.md"},"_id":"password-prompt@1.0.7","dist":{"shasum":"8e27748d3400bc9c9140d5ade705dfb7aeb7d91a","size":1977,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.7.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.0.7_1533324541062_0.5184789010663866"},"_hasShrinkwrap":false,"publish_time":1533324541131,"_cnpm_publish_time":1533324541131},"1.0.6":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.6","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.1.0","cross-spawn":"^6.0.5"},"devDependencies":{"husky":"^0.14.3","jsdoc-to-markdown":"^4.0.1","lint-staged":"^7.0.5","prettier":"^1.12.1"},"files":["index.js"],"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"https://github.com/dickeyxxx/password-prompt"},"lint-staged":{"**/*.js":["prettier --write","git add"]},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","precommit":"lint-staged","version":"npm run docs && git add README.md"},"_id":"password-prompt@1.0.6","dist":{"shasum":"d657a16c80ae3932f55f38a51fee9f872a8e9b17","size":2021,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.6.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.0.6_1525936902852_0.9738107148664905"},"_hasShrinkwrap":false,"publish_time":1525936902920,"_cnpm_publish_time":1525936902920},"1.0.5":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.5","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.1.0","cross-spawn":"^6.0.5"},"devDependencies":{"husky":"^0.14.3","jsdoc-to-markdown":"^4.0.1","lint-staged":"^7.0.5","prettier":"^1.12.1"},"files":["index.js"],"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"https://github.com/dickeyxxx/password-prompt"},"lint-staged":{"**/*.js":["prettier --write","git add"]},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","precommit":"lint-staged","version":"npm run docs && git add README.md"},"_id":"password-prompt@1.0.5","dist":{"shasum":"d2f2effd89bf26d359c87a4678339804ce782b87","size":2014,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.5.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt_1.0.5_1525579189266_0.8520152004687935"},"_hasShrinkwrap":false,"publish_time":1525579189386,"_cnpm_publish_time":1525579189386},"1.0.4":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.4","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.0.0","cross-spawn":"^5.1.0"},"devDependencies":{"husky":"^0.14.3","jsdoc-to-markdown":"^4.0.1","lint-staged":"^6.0.1","prettier":"^1.10.2"},"files":["index.js"],"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dickeyxxx/password-prompt.git"},"lint-staged":{"**/*.js":["prettier --write","git add"]},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","precommit":"lint-staged","version":"npm run docs && git add README.md"},"gitHead":"c5ee3ce4b2f367b3f98ea5d86cdcc2ae7b77e66d","_id":"password-prompt@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"dist":{"shasum":"933bac8db3528fcb27e9fdbc0a6592adcbdb5ed9","size":1995,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.4.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt-1.0.4.tgz_1516425619701_0.1731596204917878"},"directories":{},"publish_time":1516425619911,"_hasShrinkwrap":false,"_cnpm_publish_time":1516425619911},"1.0.3":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.3","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"^3.0.0","cross-spawn":"^5.1.0"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0"},"files":["index.js"],"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dickeyxxx/password-prompt.git"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","version":"npm run docs && git add README.md"},"gitHead":"817c5eaab65549b70d389627d66da79c1cc2a632","_id":"password-prompt@1.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"dist":{"shasum":"1478aad647c5afb65158e901bf4df0a3c367039a","size":2563,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.3.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/password-prompt-1.0.3.tgz_1504918818557_0.9666255058255047"},"directories":{},"publish_time":1504918818646,"_hasShrinkwrap":false,"_cnpm_publish_time":1504918818646},"1.0.2":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.2","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"1.4.0","cross-spawn":"4.0.0"},"devDependencies":{"jsdoc-to-markdown":"1.3.6"},"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dickeyxxx/password-prompt.git"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo"},"gitHead":"955f11c9d6df6f52d088d5f08f4ca814f4aa0f97","_id":"password-prompt@1.0.2","_shasum":"49d050fa9fafe5f6e6b0643bcee949a43f78c014","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"dickeyxxx","email":"dickeyxxx@gmail.com"},"dist":{"shasum":"49d050fa9fafe5f6e6b0643bcee949a43f78c014","size":2590,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.2.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/password-prompt-1.0.2.tgz_1470085829947_0.3074673218652606"},"directories":{},"publish_time":1470085830177,"_cnpm_publish_time":1470085830177,"_hasShrinkwrap":false},"1.0.1":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.1","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"1.4.0","cross-spawn":"4.0.0"},"devDependencies":{"jsdoc-to-markdown":"1.3.6"},"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dickeyxxx/password-prompt.git"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo"},"gitHead":"97f077ab275ff1ac1c2ec5fe1da63d70342df06a","_id":"password-prompt@1.0.1","_shasum":"0624d3a7e19ca89dfb495cf79537bb153f932b1c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"dickeyxxx","email":"dickeyxxx@gmail.com"},"dist":{"shasum":"0624d3a7e19ca89dfb495cf79537bb153f932b1c","size":2537,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.1.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/password-prompt-1.0.1.tgz_1470084983989_0.28425338375382125"},"directories":{},"publish_time":1470084984220,"_cnpm_publish_time":1470084984220,"_hasShrinkwrap":false},"1.0.0":{"name":"password-prompt","description":"cross-platform masked or hidden prompt","version":"1.0.0","author":{"name":"Jeff Dickey @dickeyxxx"},"bugs":{"url":"https://github.com/dickeyxxx/password-prompt/issues"},"dependencies":{"ansi-escapes":"1.4.0","cross-spawn":"4.0.0"},"devDependencies":{"jsdoc-to-markdown":"1.3.6"},"homepage":"https://github.com/dickeyxxx/password-prompt","keywords":["cli","input","password","prompt"],"license":"WTFPL","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dickeyxxx/password-prompt.git"},"scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo"},"gitHead":"f7af7c711aaeb6e9f56ff294ba1fbc4ffaeb4cae","_id":"password-prompt@1.0.0","_shasum":"4dcca88b135d96dd5ae4a019f4b447bfb4b39483","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"dickeyxxx","email":"dickeyxxx@gmail.com"},"dist":{"shasum":"4dcca88b135d96dd5ae4a019f4b447bfb4b39483","size":2623,"noattachment":false,"key":"/password-prompt/-/password-prompt-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/password-prompt/download/password-prompt-1.0.0.tgz"},"maintainers":[{"name":"dickeyxxx","email":"jeff@dickeyxxx.com"},{"name":"elbandito","email":"longoria.public@gmail.com"},{"name":"rasphilco","email":"philipe@snowshoestamp.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/password-prompt-1.0.0.tgz_1470084949505_0.3334208340384066"},"directories":{},"publish_time":1470084951460,"_cnpm_publish_time":1470084951460,"_hasShrinkwrap":false}},"readme":"# password-prompt\n\nNode cross-platform password prompt.\n\nSupported Environments:\n\n* Unix\n* TTY or non-TTY\n* cygwin\n* Git Bash\n* cmd.exe\n* PowerShell\n* cmder\n* Console2\n\n# API Reference\nprompt -- Prompt for a password\n\n**Returns**: <code>Promise.&lt;string&gt;</code> - input from user  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| [ask] | <code>string</code> |  | prompt output |\n| [options] | <code>Object</code> |  |  |\n| [options.method] | <code>string</code> | <code>&quot;mask&quot;</code> | mask or hide |\n\n**Example**  \n```js\nlet prompt = require('password-prompt')\nlet password = prompt('password: ')\n// password: ******\n```\n","_attachments":{},"homepage":"https://github.com/jdxcode/password-prompt","bugs":{"url":"https://github.com/jdxcode/password-prompt/issues"},"license":"0BSD"}