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

@pearl-framework/cli

v0.1.5

Published

CLI for the Pearl.js TypeScript framework

Downloads

588

Readme

@pearl-framework/cli

The official CLI for the Pearl.js TypeScript framework.

Installation

npm install -g @pearl-framework/cli

Or use directly with npx — no install needed:

npx @pearl-framework/cli new my-app

Commands

Application

| Command | Description | |---------|-------------| | pearl new <name> | Scaffold a new Pearl.js application | | pearl serve | Start the dev server with hot reload | | pearl list | List all available commands |

Generators

All make:* commands support --force to overwrite existing files.

| Command | Output | |---------|--------| | pearl make:controller <n> | src/controllers/<Name>Controller.ts | | pearl make:model <n> | src/models/<Name>.ts | | pearl make:migration <n> | database/migrations/<timestamp>_<name>.ts | | pearl make:middleware <n> | src/middleware/<Name>Middleware.ts | | pearl make:job <n> | src/jobs/<Name>Job.ts | | pearl make:mail <n> | src/mail/<Name>Mail.ts | | pearl make:event <n> | src/events/<Name>Event.ts | | pearl make:listener <n> | src/listeners/<Name>Listener.ts | | pearl make:request <n> | src/requests/<Name>Request.ts | | pearl make:resource <n> | src/resources/<Name>Resource.ts |

Examples

# Create a new app (auto-detects pnpm/yarn/npm)
pearl new blog-api

# Create with a specific package manager
pearl new blog-api --npm
pearl new blog-api --pnpm
pearl new blog-api --yarn

# Skip dependency install
pearl new blog-api --no-install

# Generate a resourceful controller
pearl make:controller Post --resource

# Generate a model with its migration
pearl make:model Post --migration

# Generate a listener tied to an event
pearl make:listener SendWelcomeEmail --event UserRegistered

# Start dev server on a custom port
pearl serve --port 8080

Project Structure

After running pearl new my-app:

my-app/
├── src/
│   ├── server.ts              ← entry point, runs immediately
│   ├── providers/
│   │   └── AppServiceProvider.ts
│   ├── controllers/
│   ├── models/
│   ├── schema/
│   ├── requests/
│   ├── events/
│   ├── listeners/
│   ├── jobs/
│   ├── mail/
│   └── middleware/
├── database/
│   └── migrations/
├── tests/
│   └── example.test.ts
├── .env                       ← ready to configure
├── .env.example
├── package.json               ← all @pearl-framework/* packages included
├── tsconfig.json
└── vitest.config.ts

What's included

Every new Pearl app comes pre-configured with:

  • All @pearl-framework/* packages as dependencies
  • TypeScript with ESM + Bundler module resolution
  • tsx for fast dev server with hot reload (pnpm dev)
  • vitest for testing (pnpm test)
  • .env with sensible defaults for Postgres, Redis, JWT, and mail