Gathering detailed insights and metrics for @tuofeng/metro-react-native-babel-preset
Gathering detailed insights and metrics for @tuofeng/metro-react-native-babel-preset
Gathering detailed insights and metrics for @tuofeng/metro-react-native-babel-preset
Gathering detailed insights and metrics for @tuofeng/metro-react-native-babel-preset
🚇 The JavaScript bundler for React Native
npm install @tuofeng/metro-react-native-babel-preset
Typescript
Module System
Node Version
NPM Version
55.5
Supply Chain
61.9
Quality
72.7
Maintenance
100
Vulnerability
99.3
License
JavaScript (99.81%)
SCSS (0.15%)
CSS (0.03%)
TypeScript (0.02%)
Total Downloads
478
Last Day
1
Last Week
8
Last Month
15
Last Year
91
MIT License
5,373 Stars
4,741 Commits
652 Forks
99 Watchers
94 Branches
413 Contributors
Updated on May 10, 2025
Minified
Minified + Gzipped
Latest Version
0.59.0
Package Id
@tuofeng/metro-react-native-babel-preset@0.59.0
Unpacked Size
13.85 kB
Size
4.18 kB
File Count
7
NPM Version
6.14.4
Node Version
14.4.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
166.7%
8
Compared to previous week
Last Month
50%
15
Compared to previous month
Last Year
21.3%
91
Compared to previous year
38
1
Babel presets for React Native applications. React Native itself uses this Babel preset by default when transforming your app's source code.
If you wish to use a custom Babel configuration by writing a babel.config.js
file in your project's root directory, you must specify all the plugins necessary to transform your code. React Native does not apply its default Babel configuration in this case. So, to make your life easier, you can use this preset to get the default configuration and then specify more plugins that run before it.
As mentioned above, you only need to use this preset if you are writing a custom babel.config.js
file.
Install metro-react-native-babel-preset
in your app:
with npm
:
1npm i metro-react-native-babel-preset --save-dev
or with yarn
:
1yarn add -d metro-react-native-babel-preset
Then, create a file called babel.config.js
in your project's root directory. The existence of this babel.config.js
file will tell React Native to use your custom Babel configuration instead of its own. Then load this preset:
{
"presets": ["module:metro-react-native-babel-preset"]
}
You can further customize your Babel configuration by specifying plugins and other options. See Babel's babel.config.js
documentation to learn more.
If you get stuck configuring Babel, please ask a question on Stack Overflow or find a consultant for help. If you discover a bug, please open up an issue.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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