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

@tomb-stone/cli

v0.1.0

Published

Tombstone CLI — manage feature flags, blast radius, and kill switches from the terminal

Readme

@tombstone/cli

CLI for Tombstone feature flag management. Supports listing, inspecting, enabling, disabling, and rolling out flags across environments.

Install

npm install -g @tombstone/cli

Authentication

For local development, start the stack with make dev first (from the repo root), then set:

export TOMBSTONE_API_URL=http://localhost:8081
export TOMBSTONE_TOKEN=your-token-here

| Variable | Description | |---|---| | TOMBSTONE_API_URL | Base URL of the flag-api service (default: http://localhost:8081) | | TOMBSTONE_TOKEN | Bearer token for authentication |

Commands

tombstone flags list

List all feature flags, optionally filtered by project and environment.

tombstone flags list [--project <id>] [--env <env>]

Options:

| Option | Description | |---|---| | --project <id> | Filter by project ID | | --env <env> | Filter by environment (development, staging, production) |

Example:

tombstone flags list --project my-app --env production

tombstone flags get <key>

Show full details for a single flag as JSON.

tombstone flags get <key>

Example:

tombstone flags get checkout-v2

tombstone flags enable <key>

Enable a flag in the specified environment at 100% rollout.

tombstone flags enable <key> --env <env>

Required options:

| Option | Description | |---|---| | --env <env> | Target environment (development, staging, production) |

Example:

tombstone flags enable checkout-v2 --env staging

tombstone flags disable <key>

Kill switch — immediately disable a flag in the specified environment. Sets enabled: false and records manual_kill_switch as the reason in the audit log.

tombstone flags disable <key> --env <env>

Required options:

| Option | Description | |---|---| | --env <env> | Target environment |

Example:

tombstone flags disable checkout-v2 --env production

tombstone flags flip <key>

Set an arbitrary rollout percentage (0–100) for a flag. Supports --dry-run to preview without making changes.

tombstone flags flip <key> --env <env> --pct <n> [--dry-run]

Required options:

| Option | Description | |---|---| | --env <env> | Target environment | | --pct <n> | Rollout percentage, 0–100 |

Optional:

| Option | Description | |---|---| | --dry-run | Print what would happen without calling the API |

Examples:

# Canary rollout to 10%
tombstone flags flip new-payment-flow --env production --pct 10

# Preview a full enable without committing
tombstone flags flip new-payment-flow --env production --pct 100 --dry-run

# Set to 0% (equivalent to disabling, without the kill-switch audit reason)
tombstone flags flip new-payment-flow --env production --pct 0

Quick Reference

tombstone flags list   --project <id> --env <env>
tombstone flags get    <key>
tombstone flags enable <key> --env <env>
tombstone flags disable <key> --env <env>
tombstone flags flip   <key> --env <env> --pct <n> [--dry-run]

Version

2.0.1