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

nitrodeploy

v1.0.13

Published

Command line interface for NitroDeploy

Readme

NitroDeploy CLI

Command line interface for deploying Nuxt and Nitro applications to NitroDeploy.

Installation

npm install -g nitrodeploy-cli

Quick Start

  1. Initialize your project

    nitrodeploy init
  2. Deploy your project

    nitrodeploy deploy
  3. Check deployment status

    nitrodeploy status

Commands

nitrodeploy init

Initialize NitroDeploy configuration for your project. This will:

  • Auto-detect your framework (Nuxt 3/4, Nitro 2/3)
  • Prompt for your project ID and API key
  • Create a .nitro.json configuration file
nitrodeploy init

nitrodeploy deploy

Deploy your project to NitroDeploy.

# Deploy main branch
nitrodeploy deploy

# Deploy specific branch
nitrodeploy deploy --branch develop

nitrodeploy status

Check the status of your deployments and project information.

nitrodeploy status

nitrodeploy login

Update your API key.

nitrodeploy login

Configuration

The CLI creates a .nitro.json file in your project root:

{
  "projectId": "proj_abc123",
  "apiKey": "ndp_xyz789...",
  "framework": "NUXT4",
  "buildCommand": "npm run build",
  "outputDirectory": ".output",
  "baseUrl": "http://localhost:3000"
}

Configuration Options

  • projectId: Your NitroDeploy project ID
  • apiKey: Your project's API key
  • framework: Detected framework (NUXT3, NUXT4, NITRO2, NITRO3)
  • buildCommand: Command to build your project
  • outputDirectory: Build output directory
  • baseUrl: NitroDeploy API base URL
  • excludeFiles: Additional files to exclude from deployment (optional)

Getting Your API Key

  1. Go to your NitroDeploy dashboard
  2. Navigate to your project settings
  3. Find the "API Key" section
  4. Copy your API key (starts with ndp_)

Supported Frameworks

  • Nuxt 3 - Full-stack Vue.js framework
  • Nuxt 4 - Latest Nuxt with enhanced features
  • Nitro 2 - Universal web server
  • Nitro 3 - Next generation web server

File Exclusions

The CLI automatically excludes these files/directories:

  • node_modules/
  • .git/
  • .nitro.json
  • *.log
  • .env*
  • dist/
  • .output/
  • .nuxt/
  • coverage/
  • tmp/
  • .DS_Store

Examples

Basic Usage

# Initialize project
cd my-nuxt-app
nitrodeploy init

# Deploy to production
nitrodeploy deploy

# Check status
nitrodeploy status

Custom Branch Deployment

# Deploy feature branch
nitrodeploy deploy --branch feature/new-ui

# Deploy staging branch
nitrodeploy deploy --branch staging

Troubleshooting

"Invalid API key" Error

  • Make sure your API key starts with ndp_
  • Check that the API key belongs to the correct project
  • Run nitrodeploy login to update your API key

"Project not found" Error

  • Verify your project ID starts with proj_
  • Make sure the project exists in your NitroDeploy dashboard
  • Check that you have access to the project

Build Errors

  • Ensure your project builds locally with npm run build
  • Check that all dependencies are listed in package.json
  • Verify your build command is correct in .nitro.json

Support

For help and support: