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

@eaglekit/cli

v0.1.0

Published

EagleKit CLI — scaffold and manage your analytics

Readme

CLI Reference — eaglekit

Installation

# Use without installing (recommended for init):
npx eaglekit init

# Or install globally:
npm install -g @eaglekit/cli

Environment variables

The CLI reads these from your shell environment. Set them in .env or export before running:

export EAGLEKIT_COLLECTOR_URL=https://your-collector.vercel.app
export EAGLEKIT_API_KEY=eaglekit_live_your_dashboard_key

Commands

eaglekit init

Scaffold EagleKit into an existing project. Detects src/ directory automatically.

npx eaglekit init

# Non-interactive:
npx eaglekit init \
  --framework next \
  --collector-url https://your-collector.vercel.app \
  --project-key eagelkit_live_xxxx

Options:

| Flag | Description | |---|---| | --framework | next | react | vue | svelte | vanilla | | --collector-url | Your collector base URL | | --project-key | API key from dashboard |

Creates:

  • eaglekit.config.ts — config file at project root
  • src/eaglekit-setup.ts — framework-specific integration snippet

eaglekit status

Check if your collector is online.

eaglekit status
✔ Collector online: https://your-collector.vercel.app

Requires EAGLEKIT_COLLECTOR_URL.


eaglekit flags list

List all feature flags for a project.

eaglekit flags list --project <project-id>
Feature flags:

  ● on   new-checkout-flow  50% [treatment]
  ● on   dark-mode
  ○ off  beta-export

eaglekit flags create

Create a new feature flag.

eaglekit flags create new-checkout-flow \
  --project <project-id> \
  --rollout 50 \
  --variant treatment

Options:

| Flag | Description | Default | |---|---|---| | --project | Project ID (required) | — | | --rollout | Rollout percent 0–100 | 100 | | --variant | Variant name | — |


eaglekit flags enable

Enable a flag (instant, no deploy needed).

eaglekit flags enable new-checkout-flow --project <project-id>

eaglekit flags disable

Disable a flag — kill switch. Takes effect within 60 seconds (SDK cache TTL).

eaglekit flags disable new-checkout-flow --project <project-id>

eaglekit deploy

Prints the Vercel one-click deploy URL for your collector.

eaglekit deploy

CI/CD usage

# .github/workflows/deploy.yml
- name: Disable flag on rollback
  run: npx @eaglekit/cli flags disable risky-feature --project $PROJECT_ID
  env:
    EAGLEKIT_COLLECTOR_URL: ${{ secrets.EAGLEKIT_COLLECTOR_URL }}
    EAGLEKIT_API_KEY: ${{ secrets.EAGLEKIT_API_KEY }}

Exit codes

| Code | Meaning | |---|---| | 0 | Success | | 1 | Auth error, API error, or missing env vars |