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

@codemoreira/esad

v1.2.5

Published

Easy Super App Development - Zero-Config CLI and DevTools for React Native Module Federation

Readme

ESAD (Easy Super App Development) 🚀

Zero-Config CLI and DevTools for React Native Module Federation.

ESAD is a unified toolkit designed to abstract all the complexity from Super App development using Re.Pack (Webpack) and React Native.


🏗️ Commands

1. Initialize a Workspace

Creates a main project folder with a Host (Expo-ready) and a global configuration.

npx @codemoreira/esad init my-project

2. Create a Federated Module

Scaffolds a new mini-app correctly named and configured to join the Super App.

npx esad create-module module-rh

3. Create a Service Registry / CDN

Sets up the backend registry used for dynamic routing and file hosting.

npx esad create-cdn

4. Development Mode (Real-time HMR)

Starts the local packager and automatically notifies the Registry to bypass the CDN, so your Host App sees your local changes instantly.

npx esad dev --id module-rh --port 8081

5. Deployment

Builds, zips, and uploads the module bundle to the configured CDN endpoint.

npx esad deploy --id module-rh --version 1.0.0 --entry index.bundle

🛠️ Library Usage

🎨 Bundler Plugin (esad/plugin)

In your rspack.config.mjs, simplify everything:

import { withESAD } from 'esad/plugin';

export default withESAD({
  type: 'module', // or 'host'
  id: 'my-mini-app'
});

⚡ Global State Hook (esad/client)

Share state across different modules and the Host instantly and reatively:

import { useESADState } from 'esad/client';

const [token, setToken] = useESADState('auth_token');

🏠 Host App Features (by Default)

When you run esad init, the generated Host App comes pre-configured with:

  • 🎨 NativeWind v4: Utility-first styling ready to use with Tailwind CSS logic.
  • 🔐 Auth System: Complete AuthProvider with persistent token storage using expo-secure-store.
  • 🛤️ Protected Routes: Automatic redirection between login and (protected) groups based on auth state.
  • 📦 Module Loader: A robust lib/moduleLoader.ts to fetch and initialize federated modules dynamically.
  • 📱 Premium UI: A clean, modern starting point for your Super App dashboard.