{"id":15008698,"url":"https://github.com/bjesuiter/jb_media_query_service","last_synced_at":"2026-02-08T04:34:07.522Z","repository":{"id":56833244,"uuid":"118906845","full_name":"bjesuiter/jb_media_query_service","owner":"bjesuiter","description":"An Angular Dart Service to register a listener function to media query updates without dealing with matchMedia ","archived":false,"fork":false,"pushed_at":"2018-01-25T12:39:09.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T12:53:10.438Z","etag":null,"topics":["angular-service","angulardart","dart","dartlang","mediaqueries"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/jb_media_query_service","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjesuiter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-25T11:53:33.000Z","updated_at":"2022-08-20T21:57:53.000Z","dependencies_parsed_at":"2022-09-08T07:10:42.544Z","dependency_job_id":null,"html_url":"https://github.com/bjesuiter/jb_media_query_service","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/bjesuiter/jb_media_query_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjesuiter%2Fjb_media_query_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjesuiter%2Fjb_media_query_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjesuiter%2Fjb_media_query_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjesuiter%2Fjb_media_query_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjesuiter","download_url":"https://codeload.github.com/bjesuiter/jb_media_query_service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjesuiter%2Fjb_media_query_service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29220520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T03:18:47.732Z","status":"ssl_error","status_checked_at":"2026-02-08T03:15:31.985Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["angular-service","angulardart","dart","dartlang","mediaqueries"],"created_at":"2024-09-24T19:20:03.422Z","updated_at":"2026-02-08T04:34:07.506Z","avatar_url":"https://github.com/bjesuiter.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jb_responsive_breakpoints\n\nAn Angular Dart Service to register a listener function \nto media query updates without dealing with matchMedia.\n\n## How to use \n\nDeclare `JbMediaQueryService` as provider, inject it into your component  \n(called `mqService` in example) and call  \n`mqService.register(callbackFunction, minWidth: 300)`  \n or   \n `mqService.registerStringQuery(callbackFunction, '(minWidth:600px)'`.\n \n The `register` method provides a shortcut for the most used media queries, \n currently min-width and min-height media queries. \n If both are given, they will be connected by ` and `. \n The `registerStringQuery` method allows you to register an arbitrary mediaQuery \n which is accepted by window.matchMedia. \n \n## Example \nPlease look at the `example` folder in the Github Repository. \n\n## Build 'System'\nThe build system consists of a script system with the 'scripts' package for dart. \nThis works analoguous to the npm scripts feature.  \nhttps://pub.dartlang.org/packages/scripts#-readme-tab-\n\n### Activate Scripts\n`pub global activate scripts`\n\n### Basic Scripts Commands\n- scripts get \n- scripts install \u003cpackage\u003e\n- scripts clean\n- scripts \u003ccustomScriptName\u003e (see pubspec.yaml)\n\n### Custom Scripts Commands\n- **check-pkg** - checks package health for pub.dartlang.org with the pana package\n- **format-src** - format sources with dartfmt\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjesuiter%2Fjb_media_query_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjesuiter%2Fjb_media_query_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjesuiter%2Fjb_media_query_service/lists"}