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

v1.0.0

Published

CLI for the Pearl.js TypeScript framework

Downloads

83

Readme

@pearl-framework/cli

Scaffold and generate Pearl.js projects from the command line.

npm

Installation

npm install -g @pearl-framework/cli

Or use directly without installing:

npx @pearl-framework/cli new my-app

pearl new — Scaffold a Project

Creates a new Pearl.js project with all packages, TypeScript, Vitest, and hot-reload configured:

pearl new my-app

Options:

| Flag | Description | |---|---| | --pnpm | Use pnpm | | --yarn | Use yarn | | --npm | Use npm | | --no-install | Skip dependency install |

pearl new my-app --pnpm
pearl new my-app --no-install

What gets created:

my-app/
├── src/
│   ├── server.ts                    ← entry point
│   ├── providers/
│   │   └── AppServiceProvider.ts
│   ├── controllers/
│   ├── schema/                      ← Drizzle table definitions
│   ├── requests/
│   ├── jobs/
│   ├── events/
│   ├── listeners/
│   ├── mail/
│   └── middleware/
├── database/
│   └── migrations/
├── tests/
│   └── example.test.ts
├── .env                             ← pre-filled with sensible defaults
├── .env.example
├── package.json
├── tsconfig.json
└── vitest.config.ts

After scaffolding, start the dev server:

cd my-app
npm run dev
# → Server running on http://localhost:3000

pearl serve — Dev Server

Start the development server with hot reload powered by tsx watch:

pearl serve
pearl serve --port 8080
pearl serve --host 0.0.0.0

The command looks for src/server.ts first, then falls back to src/main.ts.


Generators

All generators create files in the conventional location. Use --force to overwrite an existing file.

Controllers

pearl make:controller Post               # src/controllers/PostController.ts
pearl make:controller Post --resource    # with index, show, store, update, destroy methods

Models & Migrations

pearl make:model Post                    # src/models/Post.ts
pearl make:model Post --migration        # model + database/migrations/<timestamp>_create_posts.ts
pearl make:migration create_posts_table  # migration only

Middleware

pearl make:middleware RequireAdmin       # src/middleware/RequireAdminMiddleware.ts

Validation

pearl make:request CreatePostRequest    # src/requests/CreatePostRequest.ts

Jobs

pearl make:job SendWelcomeEmail         # src/jobs/SendWelcomeEmailJob.ts

Events & Listeners

pearl make:event UserRegistered                              # src/events/UserRegisteredEvent.ts
pearl make:listener SendWelcomeEmail                        # src/listeners/SendWelcomeEmailListener.ts
pearl make:listener SendWelcomeEmail --event UserRegistered # pre-wired to the event

Mail

pearl make:mailable WelcomeMail         # src/mail/WelcomeMail.ts

Resources

pearl make:resource UserResource        # src/resources/UserResource.ts

What's included in every project

| Feature | Details | |---|---| | All @pearl-framework/* packages | Pre-installed and ready to use | | TypeScript | ESM + Bundler module resolution, strict: true | | Hot reload | tsx watch via npm run dev | | Testing | vitest with an example test | | Environment | .env pre-filled for Postgres, Redis, JWT, and mail |


Requirements

  • Node.js v20+
  • pnpm, yarn, or npm