Gathering detailed insights and metrics for babel-plugin-react-native-platform-specific-extensions
Gathering detailed insights and metrics for babel-plugin-react-native-platform-specific-extensions
Gathering detailed insights and metrics for babel-plugin-react-native-platform-specific-extensions
Gathering detailed insights and metrics for babel-plugin-react-native-platform-specific-extensions
Allow react-native platform specific extensions to be used for other file types than Javascript.
npm install babel-plugin-react-native-platform-specific-extensions
Typescript
Module System
Node Version
NPM Version
79.7
Supply Chain
81.5
Quality
75.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
13 Stars
45 Commits
2 Forks
2 Watchers
151 Branches
2 Contributors
Updated on May 27, 2025
Latest Version
1.1.1
Package Id
babel-plugin-react-native-platform-specific-extensions@1.1.1
Unpacked Size
8.57 kB
Size
3.18 kB
File Count
5
NPM Version
5.8.0
Node Version
8.11.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Allow react-native platform specific extensions to be used for other file types than Javascript.
Example:
import styles from "./styles.css";
styles.android.css
<- Android onlystyles.ios.css
<- iOS onlystyles.native.css
<- Both Android and iOSstyles.css
<- Default. Android, iOS and Web1yarn add --dev babel-plugin-react-native-platform-specific-extensions
or
1npm install --save-dev babel-plugin-react-native-platform-specific-extensions
.babelrc
You must give one or more file extensions inside an array in the plugin options.
{
"presets": [
"react-native"
],
"plugins": [
["react-native-platform-specific-extensions", {
"extensions": ["css", "scss", "sass"],
}]
]
}
require
.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
86 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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 More