{"id":19691887,"url":"https://github.com/yviscool/inquirer-checkbox-plus","last_synced_at":"2026-06-11T08:31:34.103Z","repository":{"id":57274384,"uuid":"139742992","full_name":"yviscool/inquirer-checkbox-plus","owner":"yviscool","description":"inquirer-checkbox-plus","archived":false,"fork":false,"pushed_at":"2022-09-16T04:18:01.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T08:41:43.553Z","etag":null,"topics":["cli","prompts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yviscool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-04T16:06:30.000Z","updated_at":"2022-09-16T04:18:05.000Z","dependencies_parsed_at":"2022-09-17T10:13:04.410Z","dependency_job_id":null,"html_url":"https://github.com/yviscool/inquirer-checkbox-plus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yviscool/inquirer-checkbox-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Finquirer-checkbox-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Finquirer-checkbox-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Finquirer-checkbox-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Finquirer-checkbox-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yviscool","download_url":"https://codeload.github.com/yviscool/inquirer-checkbox-plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Finquirer-checkbox-plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34190583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","prompts"],"created_at":"2024-11-11T19:11:35.451Z","updated_at":"2026-06-11T08:31:34.084Z","avatar_url":"https://github.com/yviscool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inquirer-checkbox-plus\n Inspired by [inquirer-checkbox-plus-prompt](https://github.com/faressoft/inquirer-checkbox-plus-prompt)\n\n\n### Installation\n\n``` shell\nnpm install inquirer-checkbox-plus\n```\n\n### Usage\n\n```javascript\ninquirer.registerPrompt('checkbox-plus', require('inquirer-checkbox-plus'));\n\ninquirer.prompt({\n  type: 'checkbox-plus',\n  ...\n})\n```\n\n### options\n\nTakes `type`, `name`, `message`, `source`[ `filter`, `validate`, `default`, `pageSize`, `highlight`, `searchable`, `enablebackspace`, `answer`,`footer`,`header`,`keypress`,`searching`,`noresult`] properties.\n\n* **highlight**:  (Function/Boolean)\n* **answer**:  (Function)\n* **header**: (Function/String)\n* **footer**: (Function/String)\n* **searching**: (Function/String)\n* **noresult**: (Function/String)\n* **enablebackspace**: (Boolean) If `true`, backspace will not emit `keypress` event\n* **keypress** : (Function), args (events, validation, prompt), events is a observable which can bind any keypress event, validation is observable which can be used with events, prompt is this \n\nsee `example.js`\n\n### category \n\n\n![demo](https://github.com/yviscool/inquirer-checkbox-plus/blob/master/demo.gif)\n\n\nDo not enable `searchable` options.\n\n\n```javascript\ninquirer.prompt([{\n    type: 'checkbox-plus',\n    ...\n    source: function (answersSoFar, input) {\n\n        return Promise.resolve(...)\n\n    },\n    subsource: function (choice, type) {\n    \t...\n        return Promise.resolve([])\n    }\n}])atch(console.log)\n```\n\nuse `gg/G` key to return the top/bottom. `h/l` key to change the cagetory.\n\nsee `example01.js`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyviscool%2Finquirer-checkbox-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyviscool%2Finquirer-checkbox-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyviscool%2Finquirer-checkbox-plus/lists"}