{"id":36542832,"url":"https://github.com/rbague/stimulus-check-all","last_synced_at":"2026-01-12T05:49:41.665Z","repository":{"id":40820336,"uuid":"266427300","full_name":"rbague/stimulus-check-all","owner":"rbague","description":"A Stimulus Controller to implement check-all checkbox feature","archived":false,"fork":false,"pushed_at":"2025-06-29T16:40:39.000Z","size":426,"stargazers_count":10,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T23:38:53.710Z","etag":null,"topics":["check-all","checkbox","stimulus","stimulus-controller","stimulusjs"],"latest_commit_sha":null,"homepage":"https://npm.im/stimulus-check-all","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbague.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-23T22:06:38.000Z","updated_at":"2023-09-18T14:47:23.000Z","dependencies_parsed_at":"2024-11-19T01:43:29.771Z","dependency_job_id":null,"html_url":"https://github.com/rbague/stimulus-check-all","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":0.275,"last_synced_commit":"c94056ba2717bbf500f67e714d38266e2d57bf63"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rbague/stimulus-check-all","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbague%2Fstimulus-check-all","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbague%2Fstimulus-check-all/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbague%2Fstimulus-check-all/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbague%2Fstimulus-check-all/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbague","download_url":"https://codeload.github.com/rbague/stimulus-check-all/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbague%2Fstimulus-check-all/sbom","scorecard":{"id":763932,"data":{"date":"2025-08-11","repo":{"name":"github.com/rbague/stimulus-check-all","commit":"c94056ba2717bbf500f67e714d38266e2d57bf63"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T00:13:23.699Z","repository_id":40820336,"created_at":"2025-08-23T00:13:23.699Z","updated_at":"2025-08-23T00:13:23.699Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["check-all","checkbox","stimulus","stimulus-controller","stimulusjs"],"created_at":"2026-01-12T05:49:36.506Z","updated_at":"2026-01-12T05:49:41.660Z","avatar_url":"https://github.com/rbague.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stimulus CheckAll\n[![npm version](https://badgen.net/npm/v/stimulus-check-all)](https://www.npmjs.com/package/stimulus-check-all)\n[![npm downloads](https://badgen.net/npm/dt/stimulus-check-all)](#)\n[![MIT License](https://badgen.net/npm/license/stimulus-check-all)](https://github.com/rbague/stimulus-check-all/blob/master/LICENSE)\n\nA wrapper for [@github/check-all] as a Stimulus Controller.\n\nKeep track of all the changes in the [Changelog](https://github.com/rbague/stimulus-check-all/blob/master/CHANGELOG.md)\n\n## Install\nThis package assumes that you have [Stimulus](https://stimulusjs.org/handbook/installing) installed and set up.\n\nInstall the library in your project with:\n```sh\nyarn add stimulus-check-all\n# or\nnpm install --save stimulus-check-all\n```\n\nAnd register the controller in your application\n```js\nimport { Application } from \"stimulus\"\nimport CheckAll from \"stimulus-check-all\"\n\nconst application = Application.start()\napplication.register(\"check-all\", CheckAll)\n```\n\nYou can also use a UMD build directly from UNPKG, which will make the controller globally available as `StimulusCheckAll` (it also bundles `@github/check-all`)\n```html\n\u003cscript src=\"https://unpkg.com/stimulus/dist/stimulus.umd.js\"\u003e\u003c/script\u003e \u003c!-- Stimulus must be loaded globally --\u003e\n\u003cscript src=\"https://unpkg.com/stimulus-check-all@latest/dist/stimulus-check-all.umd.js\"\u003e\u003c/script\u003e \u003c!-- or 'stimulus-check-all.umd.min.js' --\u003e\n```\n\nThere is also a CommonJS build on UNPKG:\n```\nhttps://unpkg.com/stimulus-check-all/dist/stimulus-check-all.js\nhttps://unpkg.com/stimulus-check-all/dist/stimulus-check-all.min.js\n```\n\n## Usage\n\nFor the most basic usage create a div with some checkboxes.\nIn the case you want to exclude some checkboxes from the check-all features, add a `data-skip` attribute to those checkboxes.\n\n```html\n\u003cdiv data-controller=\"check-all\"\u003e\n  \u003cdiv\u003eCount: \u003cspan data-target=\"check-all.count\"\u003e0\u003c/span\u003e\u003c/div\u003e \u003c!-- optional --\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\" data-target=\"check-all.all\"\u003e Check All\u003c/label\u003e \u003c!-- optional --\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\"\u003e github/fetch\u003c/label\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\"\u003e github/textarea-autosize\u003c/label\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\"\u003e github/eventlistener-polyfill\u003c/label\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\"\u003e github/quote-selection\u003c/label\u003e\n  \u003clabel\u003e\u003cinput type=\"checkbox\" data-skip\u003e skip-this-one\u003c/label\u003e \u003c!-- this one is skipped --\u003e\n\u003c/div\u003e\n```\n\n### Targets\n\nAll of them are optional, as they are in [@github/check-all].\n\n- `all`: The checkbox used to check all of the other ones in the container\n- `count`: Displays the number of selected checkboxes\n\n## Extending controller\nYou can extend the functionality of the controller using inheritance. Just remember to call super if overriding any of the parent's methods, like `connect` or `disconnect`:\n\n```js\nimport CheckAllController from 'stimulus-check-all'\n\nexport default class extends CheckAllController {\n  connect () {\n    super.connect()\n\n    // your custom code\n  }\n}\n```\n\nApart from access to the targets defined in the parent class, the controller exposes three other properties:\n- `checkboxes`: All the checkboxes where the check-all feature is applied\n- `checked`: The checked checkboxes\n- `unchecked`: The unchecked checkboxes\n\n## Contributing\n\nBug reports and pull requests are more than welcome on [GitHub](https://github.com/rbague/stimulus-check-all).\n\n### Coding standards\nThis project uses Standard to minimize bike shedding related to code formatting.\n\nPlease run `npm run lint` prior submitting pull requests.\n\n## License\n\nThe software is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n[@github/check-all]: https://github.com/github/check-all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbague%2Fstimulus-check-all","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbague%2Fstimulus-check-all","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbague%2Fstimulus-check-all/lists"}