Gathering detailed insights and metrics for @expo/match-media
Gathering detailed insights and metrics for @expo/match-media
Gathering detailed insights and metrics for @expo/match-media
Gathering detailed insights and metrics for @expo/match-media
npm install @expo/match-media
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
137 Stars
50 Commits
15 Forks
7 Watching
13 Branches
23 Contributors
Updated on 31 Oct 2024
TypeScript (44.36%)
JavaScript (29.57%)
Shell (26.07%)
Cumulative downloads
Total Downloads
Last day
-43.6%
2,246
Compared to previous day
Last week
-10.1%
19,576
Compared to previous week
Last month
42%
82,509
Compared to previous month
Last year
26.1%
819,277
Compared to previous year
1
2
@expo/match-media
Universal polyfill for match media API using Expo APIs on mobile
TL;DR: Demo
Install @expo/match-media
and expo-screen-orientation
in your project.
1npx expo install @expo/match-media expo-screen-orientation
Import the polyfill at the top of your file before using the window.matchMedia
API.
1import '@expo/match-media'; 2// use the match media API
What this does
matchMedia
API so you can use awesome libraries like react-responsive
.The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 5/13 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
45 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn Moreexpo-media-library
Provides access to user's media library.
expo-permissions
Allows you prompt for various permissions to access device sensors, personal data, etc.
postcss-custom-media
Use Custom Media Queries in CSS
css-mediaquery
Parses and determines if a given CSS Media Query matches a set of values.