{"_id":"select-shell","_rev":"2893407","name":"select-shell","description":"list of select for nodejs on terminal.","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"time":{"modified":"2022-12-02T08:56:07.000Z","created":"2014-06-29T23:25:35.990Z","1.1.3":"2019-08-02T21:37:04.189Z","1.1.2":"2018-06-30T22:23:40.594Z","1.0.1":"2018-06-17T09:21:37.286Z","1.0.0":"2017-07-19T01:07:19.896Z","0.1.1":"2015-09-26T23:15:48.634Z","0.1.0":"2015-09-23T18:48:02.611Z","0.0.5":"2014-08-04T15:56:58.928Z","0.0.4":"2014-07-01T16:15:59.585Z","0.0.1":"2014-06-29T23:25:35.990Z"},"users":{},"author":{"name":"luizstacio"},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"versions":{"1.1.3":{"name":"select-shell","version":"1.1.3","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"aa5cbc4478685e6a24c5d6474a9dc8e81633a673","_id":"select-shell@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"66dfd8d9c92e51304103b9c483a1de59799af289","size":18321,"noattachment":false,"key":"/select-shell/-/select-shell-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-1.1.3.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-shell_1.1.3_1564781824065_0.04023206165461324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T13:36:40.725Z","publish_time":1564781824189,"_cnpm_publish_time":1564781824189},"1.1.2":{"name":"select-shell","version":"1.1.2","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"0acd6eaaae709c080a49d94c842aaa4dca941e0d","_id":"select-shell@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.2","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"b9bf5fe5850f1a53b190606aa1b0a48b39079c44","size":18341,"noattachment":false,"key":"/select-shell/-/select-shell-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-1.1.2.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-shell_1.1.2_1530397420507_0.6297952213150029"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T13:36:39.658Z","publish_time":1530397420594,"_cnpm_publish_time":1530397420594},"1.0.1":{"name":"select-shell","version":"1.0.1","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"10627dc98df5d7a61896ae1c75c2e446d4131706","_id":"select-shell@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"9.8.0","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"8284597fb35cf61b4190ff20a62c5b2eb127133e","size":18165,"noattachment":false,"key":"/select-shell/-/select-shell-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-1.0.1.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-shell_1.0.1_1529227297229_0.4856114989236715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T13:36:38.609Z","publish_time":1529227297286,"_cnpm_publish_time":1529227297286},"1.0.0":{"name":"select-shell","version":"1.0.0","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"4cd3beecb256d67244f31c6cce6b0bb257a7307a","_id":"select-shell@1.0.0","_shasum":"9e72147aa9ffc67cb43b1163159e55822381b03f","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"9e72147aa9ffc67cb43b1163159e55822381b03f","size":18198,"noattachment":false,"key":"/select-shell/-/select-shell-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-1.0.0.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/select-shell-1.0.0.tgz_1500426439795_0.6744870089460164"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:37.739Z","publish_time":1500426439896,"_cnpm_publish_time":1500426439896},"0.1.1":{"name":"select-shell","version":"0.1.1","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"bd5b1c2d99d055eeae32cb50b805564fd163254d","_id":"select-shell@0.1.1","_shasum":"50b40ee9186f1d18b7c74123daa703d1c4e175ae","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"50b40ee9186f1d18b7c74123daa703d1c4e175ae","size":17655,"noattachment":false,"key":"/select-shell/-/select-shell-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-0.1.1.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:36.838Z","publish_time":1443309348634,"_cnpm_publish_time":1443309348634},"0.1.0":{"name":"select-shell","version":"0.1.0","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","gitHead":"9e0c18851a14c1f6468ab7d593f66f7e56fe3c4d","_id":"select-shell@0.1.0","_shasum":"0508777fedff6247dc278ab5d42ab11b91a3245f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"0508777fedff6247dc278ab5d42ab11b91a3245f","size":17667,"noattachment":false,"key":"/select-shell/-/select-shell-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-0.1.0.tgz"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:35.975Z","publish_time":1443034082611,"_cnpm_publish_time":1443034082611},"0.0.5":{"name":"select-shell","version":"0.0.5","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git@github.com:luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","_id":"select-shell@0.0.5","dist":{"shasum":"549d6a2f0006ba7fa1064921ff6526ab354c0f75","size":2877,"noattachment":false,"key":"/select-shell/-/select-shell-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-0.0.5.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:35.041Z","publish_time":1407167818928,"_cnpm_publish_time":1407167818928},"0.0.4":{"name":"select-shell","version":"0.0.4","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git@github.com:luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","_id":"select-shell@0.0.4","dist":{"shasum":"e44a45420933758870d43659a31b9d39c4b0a030","size":2858,"noattachment":false,"key":"/select-shell/-/select-shell-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-0.0.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:34.169Z","publish_time":1404231359585,"_cnpm_publish_time":1404231359585},"0.0.1":{"name":"select-shell","version":"0.0.1","description":"list of select for nodejs on terminal.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"luizstacio"},"license":"MIT","dependencies":{"colors":"~0.6.2"},"devDependencies":{},"repository":{"type":"git","url":"git@github.com:luizstacio/select-shell.git"},"keywords":["select","list","checklist","options","list","options","list","checkbox"],"bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"homepage":"https://github.com/luizstacio/select-shell","_id":"select-shell@0.0.1","dist":{"shasum":"2f2da82ba5625404f8e0187c18e6ed1c678bbb3d","size":2303,"noattachment":false,"key":"/select-shell/-/select-shell-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/select-shell/download/select-shell-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T13:36:33.288Z","publish_time":1404084335990,"_cnpm_publish_time":1404084335990}},"readme":"select-shell\n============\n\n##### **Item selection _for commandline nodejs apps._**\n\n- [x] Easy to use.\n- [x] Single / multiple item-select.\n- [x] Optional cancel message.\n- [x] Color/styling/spacing options.\n- [x] Only depends on 'colors'!\n\n\n![select-shell example image](https://raw.github.com/mralexgray/select-shell/selection-options/sample.png)\n\n\n#### Installation\n```\nnpm install select-shell\n```\n\n#### Usage\n\nSimply navigate + make selection with the arrow keys...\n\n**Up and Down** - Navigates on the options<br/>\n**Right** - Check the option<br/>\n**Left** - Uncheck the option<br/>\n**Enter/Return** - confirms the options selected<br/>\n**Esc** - Cancel/Exit<br/>\n\n#### Code\n```js\n'use strict';\n\nvar list = require('./index')(\n  /* possible configs */\n  {\n    pointer: ' ▸ ',\n    pointerColor: 'yellow',\n    checked: ' ◉  ',\n    unchecked:' ◎  ',\n    checkedColor: 'blue',\n    msgCancel: 'No selected options!',\n    msgCancelColor: 'orange',\n    multiSelect: true,\n    inverse: true,\n    prepend: true,\n    disableInput: true\n  }\n);\n\nvar stream = process.stdin;\n\nlist.option(' One    ')\n    .option(' Two    ')\n    .option(' Three  ')\n    .list();\n\nlist.on('select', function(options){\n  console.log(options);\n  process.exit(0);\n});\n\nlist.on('cancel', function(options){\n  console.log('Cancel list, '+ options.length +' options selected');\n  process.exit(0);\n});\n```\n\n#### Optional configs\n```js\nvar select = require('select-shell')(\n  /* These are the default values */\n  {\n    pointer: '> ',\n    pointerColor: 'white',\n    checked: ' ✓',\n    unchecked: '',\n    checkedColor: 'green',\n    msgCancel: 'No selected options!',\n    msgCancelColor: 'red',\n    multiSelect: true,\n    inverse: false,\n    prepend: false,\n    disableInput: true\n  }\n);\n```\n\n#### And for coffee drinkers, please see `sample.coffee`.\n\n```coffee\nlist = require('.')\n  pointer    : ' ► '\n  checked    : ' ◉  '\n  unchecked  : ' ◎  '\n  prepend    : true\n```\n\n#### The scheme of color is equal to the module [colors](https://github.com/Marak/colors.js \"module colors\").\n\n| style | color | theme|\n|----------|------|------|\n| bold        | yellow   | rainbow |\n| italic      | cyan     | random  |\n| underline   | white    | zebra   |\n| inverse     | magenta  |         |\n|             | green    |         |\n|             | red      |         |\n|             | grey     |         |\n|             | blue     |         |\n","_attachments":{},"homepage":"https://github.com/luizstacio/select-shell","bugs":{"url":"https://github.com/luizstacio/select-shell/issues"},"license":"MIT"}