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

@mounaji_npm/cli

v0.4.2

Published

CLI to scaffold a new Mounaji SaaS app — full Next.js template with selectable modules

Readme

@mounaji_npm/cli

CLI scaffolder for Mounaji SaaS applications. Generates a complete Next.js or Vite+React project with AppShell, your chosen modules, optional i18n, optional Docker infrastructure, and an mn-config.js branding file — all in one command.


Usage

No install needed — run directly with npx:

npx @mounaji_npm/cli create my-saas-app

Or install globally:

npm install -g @mounaji_npm/cli
mounaji create my-saas-app

mounaji create

Interactive project scaffolder.

mounaji create <project-name>

# Examples
mounaji create my-app
mounaji create .             # scaffold into current directory
npx @mounaji_npm/cli create my-app

Interactive prompts

The CLI asks the following questions in order:

1. Project name          → folder name (default: argument passed)
2. Framework             → Next.js App Router | Vite + React
3. Modules to include    → multiselect from the full module list (or 'a' for all)
4. Include admin controls / DevToolbar?  → y/n
5. Auth provider         → Firebase | None
6. Include i18n?         → y/n
   ↳ Select languages    → en (base), es, pt, zh, de (multiselect or 'a')
   ↳ Default locale      → which locale to start on
   ↳ Show switcher?      → y/n
7. Add Docker setup?     → y/n

Available modules

| ID | Label | Installs | |---|---|---| | home | Home | (included in AppShell) | | dashboard | Dashboard | @mounaji_npm/dashboard | | chat | Chat | @mounaji_npm/chat | | assistants | Assistants | @mounaji_npm/assistant | | knowledge-base | Knowledge Base | @mounaji_npm/knowledge-base | | tasks | Tasks | — | | connections | Connections | — | | settings | Settings | (included) | | inventory | Inventory | — | | contacts | Contacts | — | | workflows | Workflows | — | | platforms | Platforms | — | | pricing | Pricing | — |


Generated Output

Next.js App Router

my-app/
├── app/
│   ├── layout.js           ← AppShell wired with selected modules
│   ├── page.js             ← Home page
│   ├── dashboard/page.js   ← (if selected)
│   ├── chat/page.js        ← (if selected)
│   ├── assistants/page.js  ← (if selected)
│   └── .../page.js         ← one file per selected module
├── locales/                ← (if i18n selected)
│   ├── en.js
│   └── es.js               ← (one per selected language)
├── mn-config.js            ← branding + token overrides + custom module slots
├── .env.local              ← env variable template
├── docker-compose.yml      ← (if Docker selected)
├── Dockerfile              ← (if Docker selected)
└── package.json            ← all required @mounaji_npm/* deps pre-wired

Vite + React

my-app/
├── src/
│   ├── App.jsx             ← BrowserRouter + AppShell + Routes
│   ├── main.jsx
│   └── pages/
│       └── [Module]Page.jsx   ← one per selected module
├── index.html
├── locales/                ← (if i18n selected)
├── mn-config.js
├── .env
└── package.json

After Scaffolding

cd my-app
npm install
npm run dev
  • Next.js starts on http://localhost:3000
  • Vite starts on http://localhost:5173

mounaji add docker

Add Docker production infrastructure to an existing project:

cd my-existing-app
mounaji add docker
# or
npx @mounaji_npm/docker

This runs the same Docker generator as the create command's Docker prompt. See @mounaji_npm/docker for what gets generated.


mn-config.js

The generated mn-config.js is the branding and configuration file for your app. Edit it to customize your app without touching the generated layout files:

// mn-config.js
export default {
  appName: 'My SaaS App',

  // Replace with your logo (React component, <img>, or null for text)
  logo: null,

  // Token overrides — change colors, fonts, radii
  tokens: {
    colorPrimary:  '#7C3AED',
    colorAccent:   '#06B6D4',
    fontFamily:    '"Geist", system-ui, sans-serif',
    radiusMd:      '10px',
  },

  // Extra custom module manifests added to AppShell
  modules: [
    // {
    //   id: 'my-page',
    //   label: 'My Page',
    //   icon: '🚀',
    //   path: '/my-page',
    //   section: 'Workspace',
    //   order: 20,
    // },
  ],
};

Environment Variables

The generated .env.local (Next.js) or .env (Vite) includes placeholders for common services:

# App
NEXT_PUBLIC_APP_URL=http://localhost:3000

# Firebase (if auth selected)
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=

# Backend API
NEXT_PUBLIC_API_URL=http://localhost:5000

# Mounaji widget (if chat selected)
NEXT_PUBLIC_MOUNAJI_API_KEY=