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

deploylocally

v0.0.2

Published

Blue-Green deploy CLI with rollback and instant rollback support.

Downloads

9

Readme

Deploy CLI

A robust Blue-Green deployment CLI tool with rollback and instant rollback support. Designed for zero-downtime deployments, easy rollbacks, and seamless integration into CI/CD pipelines.


Table of Contents


Overview

Deploy CLI enables blue-green deployments for your applications, allowing you to switch traffic between two environments (blue and green) with minimal downtime. It supports instant rollback, health checks, and integrates with Docker Compose for container orchestration.


Features

  • Blue-Green deployment strategy
  • Instant rollback support
  • Health checks for services
  • Docker Compose integration
  • CLI commands for deployment and rollback
  • TypeScript support
  • Extensible and configurable

Installation

Prerequisites

Install via npm

npm install -g deploy

Or clone and build locally:

git clone https://github.com/Himasnhu-AT/deploy.git
cd deploy
npm install
npm run build
npm link

Usage

CLI Command Reference

When you run deploy in your terminal, you'll see:

Usage: bluegreen [options] [command]

Blue‑Green deploy CLI with rollback

Options:
  -V, --version       output the version number
  -h, --help          display help for command

Commands:
  init [options]      Bootstrap .deployer settings and sample compose/Dockerfile
  deploy [options]    Build new colour, verify health, switch traffic
  rollback [options]  Rollback to previous healthy release
  cleanup [options]   Remove corrupted image backups and clean up old files
  status              Show current deployment status and history
  help [command]      display help for command

Example Usage

  • Show help

    deploy --help
  • Initialize deployment settings

    deploy init
  • Deploy new version

    deploy deploy
  • Rollback to previous release

    deploy rollback
  • Cleanup old backups

    deploy cleanup
  • Show deployment status

    deploy status
  • Build TypeScript

    npm run build
  • Start CLI

    npm start

TypeScript

Modify tsconfig.json for custom TypeScript settings.


Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-feature)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature/my-feature)
  5. Open a Pull Request

For issues and suggestions, use the GitHub Issues page.


License

MIT © Himanshu