Gathering detailed insights and metrics for react-native-bundle-visualizer
Gathering detailed insights and metrics for react-native-bundle-visualizer
Gathering detailed insights and metrics for react-native-bundle-visualizer
Gathering detailed insights and metrics for react-native-bundle-visualizer
npm install react-native-bundle-visualizer
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
1,477 Stars
109 Commits
46 Forks
10 Watching
6 Branches
5 Contributors
Updated on 21 Nov 2024
TypeScript (46.14%)
Java (20.91%)
Objective-C (15.16%)
JavaScript (13.3%)
Ruby (2.45%)
Starlark (2.04%)
Cumulative downloads
Total Downloads
Last day
-4.1%
5,800
Compared to previous day
Last week
0.9%
29,447
Compared to previous week
Last month
6.9%
123,709
Compared to previous month
Last year
41.3%
1,386,664
Compared to previous year
See what's inside of your react-native bundle 📦
Uses the awesome source-map-explorer to visualize the output of the Metro bundler.
Sometimes, importing a single javascript library can drastically increase your bundle size. This package helps you to identify such a library, so you can keep the bundle size low and loading times fast.
Make sure npx is installed and run the following command in your project root
npx react-native-bundle-visualizer
1yarn add --dev react-native-bundle-visualizer
And run it:
yarn run react-native-bundle-visualizer
or when using npm:
npm install --save-dev react-native-bundle-visualizer ./node_modules/.bin/react-native-bundle-visualizer
All command-line arguments are optional. By default a production build will be created for the ios
platform.
Option | Description | Example |
---|---|---|
platform | Platform to build (default is ios) | --platform ios |
dev | Dev or production build (default is false) | --dev false |
entry-file | Entry-file (when omitted tries to auto-resolve it) | --entry-file ./index.ios.js |
bundle-output | Output bundle-file (default is tmp) | --bundle-output ./myapp.bundle |
format | Output format html, json or tsv (default is html) (see source-map-explorer options) | --format json |
only-mapped | Exclude "unmapped" bytes from the output (default is false). This will result in total counts less than the file size. | --only-mapped |
verbose | Dumps additional output to the console (default is false) | --verbose |
reset-cache | Removes cached react-native files (default is false) | --reset-cache |
--expo | Set this to true/ false based on whether using expo or not. For eg, set --expo true when using expo. Not required to pass this for react-native cli. (default is false) | --expo false |
Use react-native-bundle-visualizer@2 when targetting Expo SDK 40 or lower.
Version | Comments |
---|---|
3.x | Compatible with React-Native CLI bootstrapped projects and Expo SDK 41 or higher. |
2.x | Compatible with React-Native CLI bootstrapped projects and Expo SDK 40 or earlier. |
1.x | Uses the Haul bundler instead instead of the Metro output. |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 5/29 approved changesets -- score normalized to 1
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
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
55 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 Morevite-bundle-visualizer
Visualize vite bundle
rollup-plugin-visualizer
[![NPM Version](https://img.shields.io/npm/v/rollup-plugin-visualizer.svg)](https://npmjs.org/package/rollup-plugin-visualizer) [![Node.js CI](https://github.com/btd/rollup-plugin-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/btd
@react-native/community-cli-plugin
Core CLI commands for React Native
esbuild-visualizer
[![NPM Version](https://img.shields.io/npm/v/esbuild-visualizer.svg)](https://npmjs.org/package/esbuild-visualizer) [![Travis CI build status](https://img.shields.io/travis/com/btd/esbuild-visualizer.svg)](https://travis-ci.com/btd/esbuild-visualizer)