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

raspberry-cli

v1.0.4

Published

CLI tool for managing and building Raspberry framework projects.

Readme

🍓 Raspberry CLI

The official CLI for managing and building Raspberry framework projects.
Simple. Fast. Developer-first.


npm version License: ISC CI Coverage Made with ❤️ by thecodeguyy


🚀 Overview

raspberry-cli is a tiny but powerful command-line tool built for the Raspberry Framework.
It helps you create, build, and serve Raspberry projects effortlessly — all from your terminal.


📦 Package Info

| Property | Value | |-----------|--------| | Name | raspberry-cli | | Version | 1.0.1 | | License | ISC | | Language | TypeScript | | Runtime | Node.js |


⚙️ Installation

🔹 Global Install

npm install -g raspberry-cli
# or
pnpm add -g raspberry-cli

Now you can use the raspberry command anywhere 🎉

🔹 Local Development

# clone and setup
git clone https://github.com/codewithdripzy/raspberry-cli.git
cd raspberry-cli
pnpm install

# run in dev mode
pnpm run dev

⚡ Quick Start

Create a new project interactively:

raspberry create my-app

Build your project:

raspberry build

Run it locally:

raspberry serve

🧠 Example Scripts

You can also wire commands directly into your project’s package.json:

{
  "scripts": {
    "build": "raspberry build",
    "start": "raspberry start",
    "dev": "raspberry dev"
  }
}

🧩 Commands

| Command | Description | | -------- | -------------------------------------------------- | | create | Scaffold a new project from a template. | | build | Compile TypeScript and prepare a production build. | | serve | Run a local development server. |

Example usage:

raspberry create my-project --template 1.0.0
raspberry build --out dist
raspberry serve --port 3000

🎨 Templates

Templates are located in src/templates. The default 1.0.0 template includes both TypeScript and JavaScript variants:

  • src/templates/1.0.0/tsTemplate.ts → TypeScript
  • src/templates/1.0.0/js/ → JavaScript

🧑‍💻 Development

The CLI is TypeScript-based and built for Node.js.

Common commands:

pnpm install          # install dependencies
pnpm run dev          # start in dev mode
pnpm run build        # compile TypeScript

Recommended workflow:

  1. Fork & create a feature branch
  2. pnpm install && pnpm run dev
  3. Add tests if possible
  4. Submit a PR with a clear description

🤝 Contributing

Pull requests, ideas, and discussions are highly welcome! Before contributing:

  • Keep PRs small & focused.
  • Ensure the build passes.
  • Add/update relevant tests.

Join discussions or open issues on GitHub Discussions.


🧩 Example App

A sample Raspberry project lives in tests/myapp.

Try it out:

pnpm link --global
cd tests/myapp
pnpm install
pnpm run dev

Or directly run the CLI with ts-node:

node -r ts-node/register src/index.ts create example-app

🩵 Troubleshooting

  • Command not found? → Ensure global npm/pnpm bin is in your $PATH.
  • Build errors? → Run pnpm run build for compiler diagnostics.

🪪 License

This project is licensed under the ISC License. See LICENSE for details.