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

@cvr/sentry

v0.1.1

Published

A modern CLI for interacting with [Sentry](https://sentry.io) built with [Effect](https://effect.website) TypeScript.

Readme

sentry-cli

A modern CLI for interacting with Sentry built with Effect TypeScript.

Installation

Prerequisites

From Source

git clone https://github.com/cevr/sentry-cli.git
cd sentry-cli
bun install
bun run build
bun run install:global

Quick Start

# Authenticate with Sentry
sentry login --token YOUR_SENTRY_TOKEN

# Set default organization
sentry config set org my-organization

# Check authentication
sentry whoami

# List your issues
sentry issues search

Commands

Authentication & Config

| Command | Description | |---------|-------------| | sentry login --token <token> | Save access token | | sentry whoami | Show authenticated user | | sentry config list | Show configuration | | sentry config get <key> | Get config value | | sentry config set <key> <value> | Set config value |

Organizations & Teams

| Command | Description | |---------|-------------| | sentry orgs list | List organizations | | sentry teams list | List teams | | sentry teams create <slug> | Create a team |

Projects

| Command | Description | |---------|-------------| | sentry projects list | List projects | | sentry projects create <slug> --team <team> | Create project | | sentry projects update <slug> | Update project |

Issues

| Command | Description | |---------|-------------| | sentry issues search | Search issues | | sentry issues get <id> | Get issue details | | sentry issues update <id> | Update issue status/assignee | | sentry issues analyze <id> | AI analysis with Seer | | sentry issues events <id> | List events for issue |

Events & Traces

| Command | Description | |---------|-------------| | sentry events search | Search events | | sentry events attachments list <event-id> | List attachments | | sentry events attachments download <event-id> <attachment-id> | Download attachment | | sentry traces get <trace-id> | Get trace details |

DSNs & Releases

| Command | Description | |---------|-------------| | sentry dsns list | List DSNs | | sentry dsns create | Create DSN | | sentry releases list | List releases |

Documentation

| Command | Description | |---------|-------------| | sentry docs search <query> | Search Sentry documentation | | sentry docs get <url> | Fetch documentation page |

Configuration

Configuration is stored at ~/.config/sentry/config.json:

{
  "accessToken": "sntrys_...",
  "host": "sentry.io",
  "defaultOrg": "my-org",
  "defaultProject": "my-project"
}

Set defaults to avoid passing flags repeatedly:

sentry config set org my-organization
sentry config set project my-project

Common Options

Most commands support these options:

  • --org, -o - Organization slug (uses defaultOrg if not provided)
  • --project, -p - Project slug (uses defaultProject if not provided)
  • --query, -q - Filter query string
  • --limit, -l - Maximum results (default: 25)

Development

# Install dependencies
bun install

# Run in dev mode
bun run dev <command>

# Run tests
bun run test

# Watch tests
bun run test:watch

# Type check
bun run typecheck

# Build binary
bun run build

# Install globally (creates symlink)
bun run install:global

# Uninstall global
bun run uninstall:global

Architecture

This CLI is built with Effect TypeScript, demonstrating:

  • @effect/cli - Declarative command and option definitions
  • @effect/platform - Platform-agnostic file system and HTTP
  • Effect services - Dependency injection via Context and Layer
  • Typed errors - Schema.TaggedError for API and config errors

Project Structure

src/
├── main.ts              # CLI entry, layer composition
├── api/
│   ├── client.ts        # SentryApi service
│   ├── schema.ts        # Zod response schemas
│   └── types.ts         # TypeScript types
├── config/
│   ├── file.ts          # ConfigFile service
│   └── config.ts        # SentryConfig service
├── commands/
│   ├── shared.ts        # Shared options & helpers
│   ├── issues/          # Issue commands
│   ├── events/          # Event commands
│   ├── projects/        # Project commands
│   └── ...
└── errors/
    └── index.ts         # Typed error definitions

Getting a Sentry Token

  1. Go to Sentry API Tokens
  2. Create a new token with scopes:
    • project:read, project:write
    • team:read, team:write
    • org:read
    • event:read
    • alerts:read

License

MIT