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

nimman

v0.1.0

Published

Deployment tool for Node.js/Bun projects with automatic Nginx and HTTPS setup

Readme

Nimman

Zero-downtime deployment tool for Node.js, Bun projects with automatic Nginx reverse proxy and HTTPS setup.

Features

  • Automatic Nginx reverse proxy setup - Configures Nginx for your services automatically
  • Automatic HTTPS with Certbot - Sets up Let's Encrypt SSL certificates
  • Zero-downtime deployment - Uses PM2 reload for seamless updates
  • Multi-service support - Deploy frontend, backend, and multiple services
  • Cost-effective - Optimized for small VM deployments
  • YAML configuration - Simple, declarative config files

Installation

npm install -g nimman
# or
yarn global add nimman
# or
pnpm add -g nimman

Quick Start

1. Initialize Configuration

nimman init

This will create a nimman.yml configuration file in your project directory.

2. Setup Server (First Time Only)

sudo nimman setup

This will:

  • Configure Nginx reverse proxy
  • Set up SSL certificates with Certbot
  • Configure automatic certificate renewal

3. Deploy

nimman deploy

This will:

  • Build your services
  • Deploy with PM2 (zero-downtime reload)
  • Ensure all services are running

Configuration

Example nimman.yml:

project:
  name: my-app
  domain: example.com
  email: [email protected]

services:
  - name: frontend
    type: frontend
    runtime: node
    port: 3000
    path: frontend
    build:
      command: npm run build
      output: dist
    start:
      command: echo "Frontend served by Nginx"

  - name: backend
    type: backend
    runtime: node
    port: 3001
    path: backend
    build:
      command: npm run build
    start:
      command: node dist/index.js
    instances: 2
    env:
      DATABASE_URL: postgresql://localhost/mydb

nginx:
  enabled: true

ssl:
  enabled: true
  provider: certbot

pm2:
  instances: 1
  maxMemory: 500M

Commands

nimman init

Initialize a new deployment configuration. Creates nimman.yml in your project.

Options:

  • -p, --path <path> - Project path (default: current directory)

nimman setup

Setup Nginx and Certbot on the server. Run with sudo for first-time setup.

Options:

  • -c, --config <path> - Config file path (default: nimman.yml)

nimman deploy

Deploy your project with zero-downtime reload.

Options:

  • -c, --config <path> - Config file path (default: nimman.yml)
  • -e, --env <env> - Environment (production, staging) (default: production)
  • --skip-ssl - Skip SSL certificate setup

Service Types

Frontend

Frontend services are served directly by Nginx as static files. The build output is configured to be served.

- name: frontend
  type: frontend
  runtime: node
  port: 3000
  path: frontend
  build:
    command: npm run build
    output: dist

Backend

Backend services run with PM2 and are proxied through Nginx.

- name: backend
  type: backend
  runtime: node
  port: 3001
  path: backend
  start:
    command: node dist/index.js
  instances: 2

Runtime Support

  • Node.js: Standard Node.js applications
  • Bun: Bun runtime applications

Requirements

Server Requirements

  • Ubuntu/Debian or CentOS/RHEL Linux
  • Node.js 16+ (or Bun)
  • Nginx
  • Certbot (for SSL)
  • PM2 (installed globally: npm install -g pm2)

Permissions

  • setup command requires sudo for Nginx and Certbot configuration
  • deploy command can run as regular user (PM2 manages processes)

Cost Optimization

Nimman is designed for cost-effective VM deployments:

  • PM2 cluster mode - Efficiently uses available CPU cores
  • Nginx reverse proxy - Single entry point, efficient resource usage
  • Zero-downtime reloads - No service interruption during updates
  • Automatic SSL renewal - No manual certificate management

Troubleshooting

Nginx not found

# Ubuntu/Debian
sudo apt-get update && sudo apt-get install nginx

# CentOS/RHEL
sudo yum install nginx

Certbot not found

# Ubuntu/Debian
sudo apt-get install certbot python3-certbot-nginx

# CentOS/RHEL
sudo yum install certbot python3-certbot-nginx

PM2 not found

npm install -g pm2

Check service status

pm2 status
pm2 logs

Manual Nginx reload

sudo nginx -t
sudo systemctl reload nginx

License

MIT