All Projects → JonnyBurger → Npx Visualize Bundle

JonnyBurger / Npx Visualize Bundle

Licence: mit
Analyse your React Native bundle in 1 command

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Npx Visualize Bundle

Snake
🐍🎮 Snake game made with Expo & PIXI.js 👾 iOS, Android, and Web
Stars: ✭ 67 (-46.4%)
Mutual labels:  expo
Expo Boilerplate
React Native/Expo starting boilerplate with basic features (auth, tabs, i18n, redux, validation, notifications)
Stars: ✭ 88 (-29.6%)
Mutual labels:  expo
Playlist Example
Stars: ✭ 111 (-11.2%)
Mutual labels:  expo
React Native Blockchain Poll
Source code of bringing-the-blockchain-to-react-native blog post.
Stars: ✭ 75 (-40%)
Mutual labels:  expo
React Native Bottomsheet Reanimated
React Native bottom sheet with fully native 60 FPS animations and awesome user experience
Stars: ✭ 80 (-36%)
Mutual labels:  expo
Sqlite Example
This example has moved
Stars: ✭ 91 (-27.2%)
Mutual labels:  expo
Lego Expo
Play with Lego bricks anywhere using Expo
Stars: ✭ 65 (-48%)
Mutual labels:  expo
React Native Styled Toast
A theme friendly, easy to use react-native toast component built using styled-components and styled-system.
Stars: ✭ 119 (-4.8%)
Mutual labels:  expo
Reactconfbr App
React Conf BR App built with create-react-native-app
Stars: ✭ 84 (-32.8%)
Mutual labels:  expo
Reactnativeauth
Mobile user authentication flow with React Native, Expo, and AWS Amplify: Sign In, Sign Up, Confirm Sign Up, Forget Password, Reset Password.
Stars: ✭ 108 (-13.6%)
Mutual labels:  expo
Reactnativelaravellogin
Sample App for login using laravel 5.5 React Native and Redux
Stars: ✭ 75 (-40%)
Mutual labels:  expo
Feature U
Feature Based Project Organization for React
Stars: ✭ 80 (-36%)
Mutual labels:  expo
Match Media
Universal polyfill for match media API using Expo APIs on mobile
Stars: ✭ 95 (-24%)
Mutual labels:  expo
Xde
The Expo Development Environment
Stars: ✭ 1,173 (+838.4%)
Mutual labels:  expo
Eslint Config Universe
Moved to https://github.com/expo/expo/tree/master/packages/eslint-config-universe
Stars: ✭ 111 (-11.2%)
Mutual labels:  expo
Expo Tinder
A Tinder Clone using Expo & React Native Elements
Stars: ✭ 67 (-46.4%)
Mutual labels:  expo
React Native Styled.macro
⚛️ A Utility-First Styling Library for React Native
Stars: ✭ 89 (-28.8%)
Mutual labels:  expo
Hackatalk
TalkTalk renewal. Open source chat app built-in expo managed work flow
Stars: ✭ 123 (-1.6%)
Mutual labels:  expo
React Native Gl Image Filters
React-Native image filters using gl-react
Stars: ✭ 114 (-8.8%)
Mutual labels:  expo
Spectrum
Simple, powerful online communities.
Stars: ✭ 10,315 (+8152%)
Mutual labels:  expo

npx visualize-bundle

npx visualize-bundle allows you to inspect your React Native bundle in just one command and to diagnose big modules.

Just like on the web, you want to make your JavaScript file as small as possible. Whenever your app opens, the phone needs to parse the whole JavaScript bundle before it can run the React Native code. On lower-end phones, a big bundle can be a bottleneck on startup performance.

This package simply downloads the bundle and the sourcemap from the running packager and uses source-map-explorer to visualize it.

Usage

No installation is needed, just type

npx visualize-bundle

into the command line. The npx command is available with npm 5.2 or later.

By default the iOS production bundle is being analyzed. The following options are available:

-a, --android         analyse Android bundle 
-d, --dev             analyse development bundle
-o, --output [dir]    output directory
-p, --port [port]     use custom port
-r, --report [string] Custom name for the report file (without ext)
-k, --keep [string]   Don't delete JS bundle and source map after execution
-j, --json            save output as JSON file instead of HTML
-v, --version         print the version number
-h, --help            print usage information

Development

Contributions are welcome - You can clone the repository and start the tool using npm start.

License

MIT


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].