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

vivarium-cli

v1.2.1

Published

Local dev stack manager — auto-allocates ports, manages Docker Compose services, generates .env files

Downloads

99

Readme

Test npm version

Vivarium

Local dev stack manager. Auto-allocates ports, manages Docker Compose services, generates .env files, and provides a single CLI for the entire local development lifecycle.

The Problem

When you work on multiple projects that each run PostgreSQL, Redis, and object storage locally, port conflicts are inevitable. Vivarium solves this by assigning each project a unique index and deterministically computing all ports from it. No conflicts. No manual bookkeeping.

Philosophy

  • Convention over configuration. Sensible defaults for ports, service names, and env vars mean minimal config for common stacks.
  • Generated artifacts are ephemeral. Compose files and .env files are regenerated on every setup. Don't edit them by hand.
  • One command to rule them all. vivarium setup does everything: allocates ports, generates config, starts services, runs post-setup hooks.
  • No runtime dependencies beyond Docker. Node.js is only needed to run the CLI itself.

If these opinions don't align with your workflow, this may not be the right tool for you.

Prerequisites

  • Node.js >= 20
  • Docker with Compose v2 (included in Docker Desktop)
  • AWS CLI -- only required if using the S3 service

Installation

npm install -g vivarium-cli

Quick Start

  1. Create a vivarium.json in your project root:
{
  "services": {
    "postgres": { "user": "myapp", "password": "myapp", "database": "myapp" },
    "redis": true
  },
  "packages": {
    "backend": {
      "envFile": "backend/.env",
      "postSetup": ["pnpm db:migrate"]
    },
    "frontend": {
      "envFile": "frontend/.env"
    }
  }
}
  1. Run setup:
vivarium setup

For the full configuration schema and all available options, see the documentation.

Documentation

Full documentation is at vivarium.niranjan.io.

Development

git clone https://github.com/niranjan94/vivarium.git
cd vivarium
pnpm install

| Command | Purpose | |----------------|-----------------------------------------------| | pnpm build | Compile TypeScript to dist/ | | pnpm dev | Watch mode compilation | | pnpm format | Lint and format with auto-fix (Biome) | | pnpm test | Lint and format check + run tests |

Contributing

Contributions are welcome -- open an issue or submit a pull request. Report bugs and suggest features at github.com/niranjan94/vivarium/issues.

License

MIT -- Niranjan Rajendran