npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pp-bundler

v1.1.4

Published

Bundles react native app for phonePe app.

Readme

This tool is use to generate bundle for samsara. Its take care of most of manual work. Its kind of run the command and upload generated Archive.zip to samsara.

How to setup this Project:

  1. Instal this package globally npm install -g pp-bundler

How to use this tool

  1. Cd to your react native project root Directory
  2. Run pp-bundler bundle command with required options. (Ex: pp-bundler bundle --entry-file redbus.ios.js --platform ios --bundle-version 1 --phonepe-sdk-version 1 --dev false --app-name redbus --app-id com.phonepe.redbus --root-project-directory phonepe-rn)
  3. Run pp-bundler clear. Its optional, only required if you force terminate bundle command.
  4. Upload Archive.zip to samsara

What is root-project-directory

Directory that contain your project and all other dependency. Mainly this folder or any other subfolder should contain all node_modules folder. You just need to pass the folder name not path of folder.

Example 1. Suppose you are currently working in redbus.ios.js file that is at path: /user/mithilesh/development/phonepe/phonepe-rn/packages/redbus/redbus.ios.js and some of your node modules are in folder redbus and few other are in phone-rn and non of other folder above phonepe-rn contains any other node modules then your root folder is phonepe-rn.

Example 2. Suppose you are currently working in ols.ios.js file that is at path: /user/mithilesh/development/rocky/ola/ola.ios.js and all your node modules are in ola folder then root folder will be ola.

pp-bundler use this folder to generate the unique id for all modules so that the change set or update pack will be minimal. It makes our over the wire update blazing fast.

Commands

  • bundle [options]

    Options:

    --help Show help [boolean]

    --version Show version number [boolean]

    --entry-file Entery file of app [string] [required]

    --app-name App name, Ex: redbus, ola,... [string] [required]

    --app-id App id, Ex: com.phonepe.redbus [string] [required]

    --platform Traget platform, Ex: ios, android [string] [default: "ios"]

    --bundle-version p Bundle version, Ex: 1,2,3,... [number] [required]

    --phonepe-sdk-version JS SDK Version, Ex: 1,2,3 [number] [required]

    --dev true, doen't minify the bundle [boolean] [default: false]

    --root-project-directory root folder which contail all your project and dependencies [string] [required]

  • clear [options]

    Options:

    -h, --help output usage information

Troubleshooting

If you are facing issue like: bundle is not a valid command or not a valid react native project then try to symlink the node_modules to app folder if its is any parent folder. (Ex: ln ../../node_modules node_modules).