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

@bagisto-native/about

v1.0.1

Published

Bagisto Native Framework enables application to run inside fully native iOS/Android app

Downloads

169

Readme

Bagisto Native

Bagisto Native is an ecosystem of headless, mobile-first tools that enables any React or Next.js application to seamlessly work with native mobile apps, modern frontend frameworks, and API-driven architectures.

It is officially optimized for Bagisto Headless eCommerce, while remaining flexible enough to integrate with any API-driven or headless backend.

🚀 What We Focus On

  • 📱 Native-first commerce experiences
  • 🌐 Headless & API-driven Bagisto
  • ⚡ Modern frontend stacks (Next.js, React, Turbo)
  • 🔌 Mobile bridges & integrations
  • 🧩 Reusable SDKs & utilities

📦 Packages

| Package | Description | |------|------------| | @bagisto-native/core | Core utilities and shared logic | | @bagisto-native/react | React wrappers for the Web Components included in your projects |

Getting Started

This guide shows how to build a fully native mobile application using the Bagisto Native Framework.

By following it, you’ll be able to create a production-ready native app step by step.

Architecture Overview

📋 Prerequisites

Before starting, ensure you have:

  • Node.js (LTS recommended)
  • PHP & Composer (for Bagisto backend)
  • Xcode (latest stable version)
  • macOS system

🛠️ Step 1: Create Bagisto Headless Commerce

Bagisto Headless acts as the API layer between your Bagisto backend and native apps.

Create Headless Storefront

Note: To create Bagisto Headless Commerce, use the following command:

npx -y @bagisto-headless/create your-storefront

Repository Reference

Bagisto Headless Repository: https://github.com/bagisto/nextjs-commerce

⚙️ Step 2: Configure & Run Bagisto Headless

Navigate to the generated project:

cd your-storefront

Install dependencies, configure the .env file, and start the development server:

npm install
npm run dev

🔗 Step 3: Integrate Bagisto Native Framework

To enable native app communication, you must integrate the Bagisto Native Framework inside your Bagisto Headless (Next.js) project.

This step is mandatory before setting up the native application.

What this step includes

  • Installing:

     npm install @bagisto-native/core
     npm install @bagisto-native/react
  • Adding the Hotwire bundle.js

  • Registering required Hotwire bridge components

  • Wiring native events (toast, navigation, cart, search, etc.)

📘 Follow the official Bagisto Native Framework documentation
Refer to the root README.md of the Bagisto Native Framework and complete all integration steps inside your Bagisto Headless Next.js project.

Once this step is complete, your web application becomes native-ready and can be safely loaded inside the Bagisto Native app.

🌐 Step 4: Determine Your Project URL

Your native application will communicate with Bagisto Headless using a Project URL.

⚠️ Ensure your device or simulator is on the same network.

Step 5: Set Up Bagisto Native iOS app

Clone the iOS Repository

git clone https://github.com/SocialMobikul/BagistoNative_iOS.git
cd BagistoNative_iOS

Repository reference:
https://github.com/SocialMobikul/BagistoNative_iOS

🧩 Open Project in Xcode

open BagistoNative.xcodeproj

🔧 Step 6: Configure Base URL in iOS App

Inside the iOS project:

let base_url = "https://your-headless-base-url"

Example:

let base_url = "https://your-storefront.vercel.app"

Update the base_url value with your Project Url.

🚀 Step 7: Build & Run the iOS Application

  1. Select a simulator or connected iPhone
  2. Click Run in Xcode
  3. Verify products, cart, checkout, and API connectivity

Congratulations

Your Bagisto Native application is now ready.

🔗 Helpful Resources

  • Bagisto Headless: https://github.com/bagisto/nextjs-commerce
  • Bagisto Native iOS: https://github.com/SocialMobikul/BagistoNative_iOS