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

@tasks-md/cli

v0.3.0

Published

Unified CLI for TASKS.md task queue management

Readme

@tasks-md/cli

npm

A unified CLI for TASKS.md task queue management — pick tasks, lint files, sync from issue trackers, and monitor queue health.

Install

npm install -g @tasks-md/cli

Or run directly with npx:

npx @tasks-md/cli pick

Commands

tasks pick

Pick the highest-priority unblocked, unclaimed task. Uses a deterministic algorithm: walks P0→P3, skips blocked/claimed tasks, scores by unblocking impact.

tasks pick                    # pick best task
tasks pick --tags backend     # prefer tasks tagged "backend"

tasks lint

Validate TASKS.md files against the spec — checks structure, priority ordering, ID format, duplicate IDs, and dangling blocker references.

tasks lint TASKS.md                    # lint one file
tasks lint TASKS.md examples/          # lint multiple paths
tasks lint --fix TASKS.md              # auto-fix (removes completed tasks)

tasks stats

Show queue overview and throughput metrics.

tasks stats
📋 Queue Overview

  P0   P1   P2   P3   Total
  1    2    5    1    9

  Blocked: 2
  Claimed: 1
  Available: 6
  Files: 1

📊 Throughput

  Completed (all time):  42
  Completed (this month): 8
  Completed (this week):  3

tasks diff

Show queue changes since a git reference.

tasks diff              # changes since HEAD
tasks diff HEAD~5       # changes in the last 5 commits

tasks init

Initialize a TASKS.md file in the current repo.

tasks init

tasks install

Install the /next-task command for detected agents (Claude Code, Cursor, Windsurf, etc.).

tasks install

tasks sync-issues

Sync GitHub Issues into TASKS.md.

tasks sync-issues                              # sync from current repo
tasks sync-issues --repo owner/repo            # specify repo
tasks sync-issues --label bug --merge          # filter + merge into existing file
tasks sync-issues --output TASKS.md --merge    # write to file, preserving manual tasks

tasks sync-jira

Sync Jira issues into TASKS.md. Requires JIRA_BASE_URL, JIRA_EMAIL, and JIRA_TOKEN environment variables.

tasks sync-jira --project PROJ                 # sync a project
tasks sync-jira --jql "assignee = currentUser()" --merge
tasks sync-jira --output TASKS.md --merge

tasks sync-linear

Sync Linear issues into TASKS.md. Requires LINEAR_API_KEY environment variable.

tasks sync-linear --team ENG                   # sync a team's issues
tasks sync-linear --team ENG --project "Q1"    # filter by project
tasks sync-linear --output TASKS.md --merge

Programmatic Usage

The CLI also exports its core functions as a library:

import { loadAllTasks, pickBestTask, getQueueStats, getQueueDiff } from "@tasks-md/cli";

const tasks = loadAllTasks(process.cwd());
const best = pickBestTask(tasks);
const stats = getQueueStats(process.cwd());

License

MIT