{"id":4270,"url":"https://github.com/tuckerconnelly/react-native-match-media","last_synced_at":"2025-08-01T18:34:13.058Z","repository":{"id":57162463,"uuid":"54652247","full_name":"tuckerconnelly/react-native-match-media","owner":"tuckerconnelly","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-16T08:43:51.000Z","size":10,"stargazers_count":30,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-16T05:28:51.839Z","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/tuckerconnelly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-24T15:20:41.000Z","updated_at":"2024-06-16T05:28:51.840Z","dependencies_parsed_at":"2022-08-29T16:00:56.305Z","dependency_job_id":null,"html_url":"https://github.com/tuckerconnelly/react-native-match-media","commit_stats":null,"previous_names":["tuckerconnelly/match-media-mocks"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuckerconnelly%2Freact-native-match-media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuckerconnelly%2Freact-native-match-media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuckerconnelly%2Freact-native-match-media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuckerconnelly%2Freact-native-match-media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuckerconnelly","download_url":"https://codeload.github.com/tuckerconnelly/react-native-match-media/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228399729,"owners_count":17913838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-01-05T20:17:06.437Z","updated_at":"2024-12-06T02:26:06.160Z","avatar_url":"https://github.com/tuckerconnelly.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["UI"],"readme":"react-native-match-media\n========================\n\n`window.matchMedia` polyfill for React Native\n\nHas a peer dependency of [walmartreact/react-native-orientation-listener](https://github.com/walmartreact/react-native-orientation-listener), so make sure that's installed first.\n\n## Usage\n\n```js\nimport matchMedia from 'react-native-match-media'\n\nglobal.matchMedia = matchMedia\n```\n\n```js\nif (global.matchMedia('(min-width: 400px)').matches) {\n  // Do something\n}\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuckerconnelly%2Freact-native-match-media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuckerconnelly%2Freact-native-match-media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuckerconnelly%2Freact-native-match-media/lists"}