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

create-meridian-app

v2.4.0

Published

Create a new Meridian project or manage an existing one

Readme

create-meridian-app

CLI for creating and managing MeridianJS projects. Scaffold a new project interactively, or manage an existing one with sub-commands for dev, production start, builds, database migrations, code generation, and the admin dashboard.

Create a New Project

npx create-meridian-app
# or
npx create-meridian-app my-app

The interactive wizard prompts for:

  • Project name
  • Database URL
  • HTTP port (default: 9000)
  • Whether to include the admin dashboard
  • Optional modules (Google OAuth, SendGrid, Resend, SES, S3)
  • Whether to seed demo data

CLI Commands

Once a project is created, the meridian CLI is available locally in the project:

Development

npm run dev
# or
meridian dev

Starts the API server with NODE_ENV=development and, if @meridianjs/admin-dashboard is installed, starts the dashboard server. Loads .env automatically.

Production

npm start
# or
meridian start

Starts the API server with NODE_ENV=production. Same process as dev but without development-only behaviour (schema auto-sync is disabled via autoSyncSchema: false in config).

Build

npm run build
# or
meridian build

Runs tsc --noEmit to type-check the project.

Database

# Sync schema (adds missing tables/columns, never drops)
npm run db:migrate
meridian db:migrate

# Generate a migration file
npm run db:generate add-due-date
meridian db:generate add-due-date

Code Generation

Scaffold boilerplate files for common patterns:

meridian generate module   <name>       # New module in src/modules/
meridian generate workflow <name>       # New workflow in src/workflows/
meridian generate subscriber <event>   # New subscriber in src/subscribers/
meridian generate job      <name>       # New scheduled job in src/jobs/
meridian generate route    <path>       # New API route file
meridian generate plugin   <name>       # New local plugin in src/plugins/

# Alias
meridian g module my-feature

Admin Dashboard

# Serve the dashboard standalone (separate from API)
meridian serve-dashboard
meridian serve-dashboard --port 3000

User Management

meridian user:create --email [email protected] --role super-admin

Scaffolded Project Structure

my-app/
├── src/
│   ├── main.ts                  Entry point
│   ├── api/
│   │   ├── middlewares.ts       Route-level middleware config
│   │   └── admin/               File-based API routes
│   ├── modules/                 Custom domain modules
│   ├── workflows/               DAG workflows with compensation
│   ├── subscribers/             Event subscribers
│   ├── jobs/                    Scheduled background jobs
│   ├── links/                   Cross-module link definitions
│   └── admin/
│       └── widgets/
│           └── index.tsx        Dashboard widget extensions
├── meridian.config.ts           Framework configuration
├── .env                         Environment variables
├── .env.example                 Environment variable template
├── package.json
└── tsconfig.json

Project package.json Scripts

| Script | Command | Description | |---|---|---| | npm run dev | meridian dev | Development server | | npm start | meridian start | Production server | | npm run build | meridian build | Type-check | | npm run db:migrate | meridian db:migrate | Sync database schema | | npm run db:generate | meridian db:generate | Generate migration | | npm run seed:demo | (if opted in) | Seed demo data |

License

MIT