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

@santi_padi/anita-cli

v0.1.1

Published

ANITA - Developer CLI for automating workflows

Readme

     _    _   _ ___ _____  _
    / \  | \ | |_ _|_   _|/ \
   / _ \ |  \| || |  | | / _ \
  / ___ \| |\  || |  | |/ ___ \
 /_/   \_\_| \_|___| |_/_/   \_\

ANITA CLI

Node >= 20 TypeScript Internal Only

ANITA is an internal developer CLI tool built with Node.js + Ink (React for the terminal) that automates developer workflows: deployments, repository management, auth setup, GitHub operations, code validation, bug fixes, Slack monitoring, and more.


Quick Start

# Install globally
npm install -g @internal/ANITA

# Set up authentication
bd auth setup

# See all commands
bd --help

Commands

| Command | Description | |---|---| | bd deploy | Deploy a service to target environment | | bd repos | List and manage organization repositories | | bd auth setup | Set up authentication tokens | | bd github | GitHub operations: PRs, issues, actions | | bd validate | Run code validation: type-check, lint, tests | | bd fix | LLM-powered bug fixer | | bd slack | Slack operations: resume, watch, send | | bd logs | Live-tail logs from a service | | bd ai | Interactive AI chat powered by Claude |

Examples

# Deploy to staging
bd deploy --env staging --service api

# List repos for an org
bd repos --org myorg

# Summarize missed Slack messages
bd slack --action resume --channel general

# Watch Slack for keywords
bd slack --action watch

# Run validation with auto-fix
bd validate --fix

# AI-powered bug fix
bd fix --file src/broken.ts

# Interactive AI chat
bd ai "explain this error"

# Live log tailing
bd logs --service api --env staging

Configuration

Create a .ANITArc.json in your project root:

{
  "githubOrg": "your-org",
  "defaultEnv": "staging",
  "slackWatchChannels": ["C01XXXXXX"],
  "slackKeywords": ["urgent", "blocker", "outage"],
  "llmModel": "claude-sonnet-4-20250514",
  "llmMaxTokens": 4096,
  "validatePaths": ["src/"],
  "deployTargets": {
    "api": {
      "url": "https://deploy.example.com/api",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  },
  "logs": {
    "endpoint": "https://logs.example.com/tail",
    "filters": ["level:error"],
    "maxLines": 1000
  }
}

Supported config file formats: .ANITArc, .ANITArc.json, .ANITArc.yaml, ANITA.config.ts, ANITA.config.js


Contributing: Adding a New Command

ANITA is designed to be infinitely extensible. To add a new command:

  1. Create a folder: src/commands/<your-command>/
  2. Create files:
    • command.ts — Clipanion command class
    • index.tsx — Ink UI component
    • <name>.service.ts — Business logic
    • <name>.types.ts — TypeScript types
    • <name>.test.ts — Tests
  3. Register in src/commands/registry.ts — import and add to the COMMANDS array

Architecture

src/
├── bin.tsx              # Entry point
├── commands/            # Each command = 1 folder
│   └── <name>/
│       ├── command.ts   # Clipanion definition
│       ├── index.tsx    # Ink UI
│       └── *.service.ts # Business logic
├── components/          # Reusable Ink components
├── hooks/               # React hooks for services
├── services/            # Shared API clients
├── config/              # Configuration loading
├── types/               # Shared type definitions
└── utils/               # Utilities (env, errors, logger)

Key patterns:

  • Services are plain functions, framework-agnostic, throw domain errors
  • Hooks bridge services and UI, manage loading/error/data state
  • Components are pure presentational, never call services directly
  • Commands wire everything together with Clipanion + Ink

Development

# Install dependencies
npm install

# Development mode (watch)
npm run dev

# Build
npm run build

# Run tests
npm test

# Type-check
npm run typecheck

# Lint
npm run lint

Tech Stack

  • CLI Framework: Ink 5 + Clipanion 4
  • Language: TypeScript 5.5+
  • Runtime: Node.js >= 20
  • Build: tsup
  • HTTP: ky
  • GitHub: Octokit
  • Slack: @slack/web-api + @slack/socket-mode
  • LLM: Anthropic Claude SDK
  • Secrets: keytar (OS keychain)
  • Testing: Vitest
  • Validation: Zod