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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@veloxts/cli

v0.3.2

Published

Developer tooling and CLI commands for VeloxTS framework

Readme

@veloxts/cli

Alpha Release - This framework is in early development. APIs may change between versions. Not recommended for production use yet.

Command-line interface for the VeloxTS Framework.

Installation

The CLI is installed automatically when you create a new VeloxTS project:

npx create-velox-app my-app
cd my-app

Or add it to an existing project:

npm install -D @veloxts/cli
# or
pnpm add -D @veloxts/cli

Commands

velox dev

Start the development server with hot reload.

velox dev

Options:

  • -p, --port <port> - Port to listen on (default: 3210)
  • -H, --host <host> - Host to bind to (default: localhost)
  • -e, --entry <file> - Entry point file (auto-detected if not specified)

Examples:

# Start on default port 3210
velox dev

# Start on custom port
velox dev --port 8080

# Specify custom entry point
velox dev --entry src/main.ts

velox migrate

Run database migrations using Prisma.

velox migrate

Options:

  • --deploy - Run migrations in production mode (prisma migrate deploy)
  • --force - Force push schema without migration (development only)

Examples:

# Development: Sync schema with database
velox migrate

# Production: Apply pending migrations
velox migrate --deploy

# Force push schema changes (dev only)
velox migrate --force

Development

Building

pnpm build

Type Checking

pnpm type-check

Features

  • Beautiful terminal output with colors and spinners
  • Automatic entry point detection
  • Graceful shutdown handling (Ctrl+C)
  • Helpful error messages with suggestions
  • Intuitive command design
  • Built with Commander.js and Clack

Architecture

The CLI is built with:

  • Commander.js - Command-line parsing and routing
  • Clack - Beautiful interactive prompts
  • picocolors - Terminal colors without dependencies
  • tsx - TypeScript execution with hot reload

Troubleshooting

Entry Point Not Found

If the CLI can't find your entry point:

velox dev --entry src/index.ts

Or ensure your project has one of these files:

  • src/index.ts
  • src/main.ts
  • index.ts

Port Already in Use

Error: Port 3210 is already in use

Solution: Use a different port:

velox dev --port 8080

Module Resolution Errors

Ensure all dependencies are installed:

npm install

And that your tsconfig.json has correct module resolution settings.

MVP Limitations

The current v0.1.0 release includes:

Included:

  • velox dev - Development server with hot reload
  • velox migrate - Database migrations (wraps Prisma)

Deferred to v1.1+:

  • Code generators (velox generate controller, etc.)
  • Database seeding command (velox db:seed)
  • Migration rollback command
  • Interactive project scaffolding
  • Custom command plugins

Related Packages

TypeScript Support

All exports are fully typed with comprehensive JSDoc documentation. The package includes type definitions and declaration maps for excellent IDE support.

License

MIT