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

@prexress/cli

v0.0.12

Published

A command-line tool for creating pxr projects

Readme

Prexress CLI

🚀 Overview

Prexress is a powerful, TypeScript-based backend framework tailored for scalability and modularity. Built on top of Express.js, it now features Drizzle ORM, and a modular folder structure, with separated core and db components packaged independently.

This documentation outlines how to use the Prexress CLI (@prexress/cli) to generate project scaffolding and key components with ease.

The Prexress CLI (@prexress/cli) offers a streamlined interface to scaffold and manage your project components efficiently.


🛠️ Installation

Install the CLI tool globally via pnpm:

pnpm add -g @prexress/cli

Verify the installation:

pxr --help

📦 Project Initialization

To create a new Prexress project:

pxr init

N:B: For continuous flow init command make your machine have already running docker. more precisely need docker compose

This sets up the initial project structure with a basic configuration, default modules, and dependencies.


🚀 Available CLI Commands

| Command | Description | | --------------------- | ------------------------------------------------------------------------ | | pxr init | Scaffold a new Prexress project | | pxr make:module | Generate a full module (controller, service, schema, middleware) | | pxr make:controller | Create a basic controller inside a module | | pxr make:service | Generate a service class for business logic | | pxr make:schema | Define a new schema using Drizzle ORM | | pxr make:middleware | Generate a middleware class | | pxr make:repository | Create a repository class for data access |

Each command is interactive and prompts you to enter relevant names and configuration options during generation.


pxr init

Initializes a new Prexress project with boilerplate structure.

pxr init
  • Sets up a modular folder structure
  • Installs dependencies
  • Prepares .env and configuration files

pxr make:module

Generates an entire feature module, including:

  • Controller
  • Service
  • Repository
  • Schema
  • Middleware
pxr make:module

Example:

pxr make:module user

pxr make:controller

Creates a controller file for an existing or new module.

pxr make:controller

Example:

pxr make:controller

pxr make:service

Generates a service class for a module, containing the business logic.

pxr make:service

pxr make:schema

Creates a Drizzle ORM schema file for a specific model.

pxr make:schema

pxr make:middleware

Generates a basic middleware class.

pxr make:middleware

pxr make:repository

Creates a repository for managing database operations.

pxr make:repository

🔄 Updating the CLI

To upgrade the CLI to the latest version:

pnpm update -g @prexress/cli

💡 Tips

  • Always run pxr init inside an empty directory.
  • Follow consistent naming conventions (e.g., lowercase module names).
  • Use version control (git) to track scaffolding changes.

📬 Contributing

We welcome contributions! Follow these steps:

  1. Fork the repo
  2. Create a feature branch:
    git checkout -b feature/awesome-feature
  3. Commit and push:
    git commit -am "Add awesome feature"
    git push origin feature/awesome-feature
  4. Submit a pull request

📄 License

MIT License. See LICENSE file for details.