{"id":47669883,"url":"https://github.com/chrisbraddock/vuex-breakjs-sync","last_synced_at":"2026-04-02T12:29:40.526Z","repository":{"id":143927223,"uuid":"75618652","full_name":"chrisbraddock/vuex-breakjs-sync","owner":"chrisbraddock","description":"Effortlessly keep BreakJS and Vuex Store in sync.","archived":false,"fork":false,"pushed_at":"2019-02-05T23:00:45.000Z","size":24,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-09-15T11:56:37.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chrisbraddock.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-12-05T11:30:40.000Z","updated_at":"2019-02-05T23:00:46.000Z","dependencies_parsed_at":"2023-06-14T18:15:36.593Z","dependency_job_id":null,"html_url":"https://github.com/chrisbraddock/vuex-breakjs-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisbraddock/vuex-breakjs-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvuex-breakjs-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvuex-breakjs-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvuex-breakjs-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvuex-breakjs-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisbraddock","download_url":"https://codeload.github.com/chrisbraddock/vuex-breakjs-sync/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvuex-breakjs-sync/sbom","scorecard":{"id":279396,"data":{"date":"2025-08-11","repo":{"name":"github.com/chrisbraddock/vuex-breakjs-sync","commit":"3bdb413a26d5f6fd119fc21b9f53fea3372d4946"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Code-Review","score":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"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 'develop'"],"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 6 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"}}]},"last_synced_at":"2025-08-17T15:21:56.011Z","repository_id":143927223,"created_at":"2025-08-17T15:21:56.011Z","updated_at":"2025-08-17T15:21:56.011Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31306038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-02T12:29:39.957Z","updated_at":"2026-04-02T12:29:40.511Z","avatar_url":"https://github.com/chrisbraddock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vuex-breakjs-sync\n\n\u003e Effortlessly keep [BreakJS](https://github.com/nygardk/BreakJS) responsive\n\u003e breakpoints and [Vuex](https://github.com/vuejs/vuex) Store in sync.\n\n![vuex-breakjs-sync demo](http://i.imgur.com/GMtTQgG.gif)\n\n\n### Usage\n\n``` bash\n# for vue \u003e= 2.0:\nnpm install vuex-breakjs-sync\n```\n\n``` js\nimport { sync } from 'vuex-breakjs-sync' // `sync` init method\nimport store from './vuex/store' // Vuex store instance\nimport breakjs from 'breakjs' // BreakJS init method\n\nsync(store, breakjs) // done.\n\n// bootstrap your app...\n```\n### Demo \n\n``` sh\n# run the demo from source\ngit clone https://github.com/chrisbraddock/vuex-breakjs-sync\ncd vuex-breakjs-sync/demo\nnpm install\nnpm run dev\n```\n\n### How does it work?\n\n- It adds a `breakpoint` module into the store, which contains the state\nrepresenting the current breakpoint.\n\n``` js\nstore.state.breakpoint.current // string current breakpoint e.g. 'tablet'\n```\n\n- When BreakJS runs callbacks on breakpoint change, the store's state is updated.\n\n\n\n### Customizing Breakpoints\n\n\n**vuex-breakjs-sync** `breaks` defaults to:\n\n``` js\n{\n    phone: '320px',\n    tablet: '768px',\n    desktop: '1024px'\n}\n```\n_\\* borrowed from [include-media](http://include-media.com/documentation/#variable-breakpoints)_\n\n\nThe defaults can be overridden by passing a valid [BreakJS layout\nobject](https://github.com/nygardk/BreakJS#usage) as a parameter\nto `sync` .e.g.\n\n``` js\nvar myBreaks = { ... }\nsync(store, breakjs, myBreaks)\n```\n\nThe default `breaks` object is available as a convenience export from\n*vuex-breakjs-sync*:\n\n``` js\nimport { sync, breaks } from 'vuex-breakjs-sync'\nimport store from './vuex/store'\nimport breakjs from 'breakjs'\n\nbreaks['phablet'] = 550\n\nsync(store, breakjs, breaks)\n```\n\n### License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n### Credit\n\nonly minor adaptation to [vue-router-sync](https://github.com/vuejs/vuex-router-sync) was needed for this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbraddock%2Fvuex-breakjs-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisbraddock%2Fvuex-breakjs-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbraddock%2Fvuex-breakjs-sync/lists"}