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

jig-dev

v0.15.0

Published

CLI tool for AI-powered spec-to-task decomposition and execution

Downloads

3,458

Readme

jig-dev

AI-powered spec-to-task decomposition and execution. Jig transforms high-level feature specifications into structured, executable tasks for AI coding agents.

Install

Quick start (no install)

npx jig-dev init
# or
bunx jig-dev init

Global install

npm install -g jig-dev
# or
bun add -g jig-dev

Then run:

jig init

Usage

Initialize a project

jig init

Jig detects your framework, creates the .jig/ directory, and sets up your project.

Bootstrap from existing code

jig bootstrap

Scans your codebase and generates feature specifications automatically.

Work with specs

jig spec list              # List all specs
jig spec show <name>       # View a spec
jig spec new <name>        # Create a new spec

Decompose and execute

jig decompose <spec>       # Break spec into tasks
jig tasks <spec>           # List tasks for a spec
jig run <spec> <task>      # Execute a task via Claude Code
jig verify <spec> <task>   # Run verification gates
jig status                 # View project status

Cloud sync

jig auth login             # Authenticate
jig sync                   # Sync with cloud

How it works

  1. Write specs -- Describe features in markdown with intent, acceptance criteria, and constraints
  2. Decompose -- Jig breaks specs into executable tasks with file scopes and verification gates
  3. Execute -- Claude Code runs tasks autonomously, guided by rich context
  4. Verify -- Automated verification gates confirm each task meets its criteria

Deploying the MCP Server

The hosted MCP server runs on Fly.io at mcp.usejig.dev.

Deploy

fly deploy

Deploys use blue-green strategy: the new instance boots and passes health checks before traffic switches over. Active SSE connections on the old instance are closed gracefully (in-flight requests finish, then transports close).

How graceful shutdown works

  1. Fly.io sends SIGTERM to the old instance (forwarded by dumb-init).
  2. The server stops accepting new connections.
  3. All active MCP transports are closed (SSE streams end cleanly with retry: 3000ms header).
  4. In-flight requests have up to 55 seconds to complete (Fly.io kill_timeout is 60s).
  5. Clients that lose their SSE stream will auto-reconnect within 3 seconds using the retry interval.
  6. If the old session ID is unknown to the new instance, clients re-initialize per the MCP spec (HTTP 404 triggers new InitializeRequest).

Monitoring

# Check server health
curl https://mcp.usejig.dev/health

# View active sessions and uptime
fly ssh console -C "curl -s localhost:8080/health"

# Stream logs during deploy
fly logs

Configuration

Key settings in fly.toml:

  • deploy.strategy = "bluegreen" -- zero-downtime traffic switch
  • http_service.min_machines_running = 1 -- always-on
  • experimental.kill_timeout = "60s" -- drain window before SIGKILL
  • http_service.http_options.idle_timeout = 300 -- 5-minute idle timeout for SSE

SSE settings in src/mcp/hosted.ts:

  • retryInterval: 3000 -- clients retry SSE connection after 3 seconds
  • eventStore: InMemoryEventStore -- enables mid-session SSE resumption via Last-Event-ID
  • Keepalive comments every 15 seconds prevent Fly.io proxy timeout

Requirements

  • Node.js 18+ or Bun 1.0+
  • Claude Code CLI (for task execution)

License

MIT