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

@jnardiello/moirai

v0.1.3

Published

Local agentic kanban board for markdown backlogs and coding agents

Downloads

516

Readme

Moirai

Moirai is a local agentic kanban board for markdown backlogs and coding agents.

It reads tasks from root-level todos/ folders, reads implementation plans from root-level plans/ folders, and keeps its own project configuration in .moirai/config.json.

Install

Run it once with npx:

npx @jnardiello/moirai

Or install the CLI globally:

npm install -g @jnardiello/moirai
moirai

First Run

Start Moirai inside the folder that should hold the board:

cd my-project
moirai

Moirai detects the current folder and opens a web wizard when setup is needed. The wizard can create or repair:

todos/todo/
todos/doing/
todos/done/
plans/todo/
plans/doing/
plans/done/
.moirai/config.json

It does not create demo stories or copy backlog markdown into the Moirai package.

Daily Use

moirai

Useful commands:

moirai init
moirai doctor
moirai --root /path/to/project --port 3001
moirai --no-update-check

Runtime logs, local agent discovery, and worktrees live under .moirai/runtime/ and .moirai/local.json.

When Moirai is installed globally, startup checks npm for a newer published version before launching the board. If an update is available, Moirai asks whether to install it with npm install -g @jnardiello/moirai@latest; when confirmed, it updates first and then restarts the command with the update check disabled for that run. Set MOIRAI_NO_UPDATE_CHECK=1 or pass --no-update-check to skip the check.

Release

make publish

make publish requires a clean git worktree, verifies that the current package version is not already published, runs tests, creates a vX.Y.Z git tag if needed, previews the npm package, publishes the current version to npm, pushes the branch and release tag to the configured git remote, and creates a GitHub Release through gh.

When no version is provided, make publish asks whether the release is a patch, minor, or major release and shows the resulting version before continuing. The version is calculated from the latest npm release when available, falling back to the local package.json version.

To skip the prompt, pass a release type or exact version:

make publish VERSION=patch

To use a non-default git remote:

make publish GIT_REMOTE=upstream

If npm requires two-factor authentication, run it with npm's standard OTP config:

NPM_CONFIG_OTP=123456 make publish

Configuration

Example .moirai/config.json:

{
  "schemaVersion": 1,
  "boardRoot": ".",
  "tasksDir": "todos",
  "plansDir": "plans",
  "runtimeDir": ".moirai/runtime",
  "worktreeRoot": ".moirai/runtime/worktrees",
  "repoBaseDir": ".",
  "defaultBaseBranch": "master",
  "repos": {
    "backlog": "."
  },
  "agents": {
    "codex": { "command": "codex" },
    "claude": { "command": "claude" },
    "opencode": { "command": "opencode" }
  },
  "server": {
    "host": "127.0.0.1",
    "port": 3001
  }
}

repos.backlog points to the folder containing todos/ and plans/. Add implementation repositories to repos when task frontmatter references them.

Development

npm install
npm test
npm start