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

@layermix/cli

v2.4.0

Published

DAG-based task runner CLI with Ink TUI

Downloads

1,240

Readme

@layermix/cli

One task runner for humans, CI, and AI agents. You declare tasks and their dependencies in a task-runner.json. layermix builds the graph and runs tasks in parallel up to the graph's constraints.

  • In a terminal: an interactive Ink TUI. Live status, keyboard-driven retry, / for search.
  • In CI: buffered linear output that's parallel-safe, plus a JUnit report if you want one.
  • Inside Claude Code, Cursor, Aider, Continue: auto-detected via env vars, linear output, no flags needed.

layermix TUI

Full docs: https://layermix-labs.github.io/cli/

npm i -g @layermix/cli

60-second tour

layermix init                         # scaffold task-runner.json
layermix list                         # see what's defined
layermix validate                     # check the DAG is cycle-free

layermix id [id]                      # run tasks (and their deps)
layermix -t test                      # run every task tagged 'test'
layermix --dry-run-json -t test       # print the JSON plan, run nothing

Example task-runner.json:

{
  "$schema": "https://unpkg.com/@layermix/[email protected]/schema.json",
  "defaultRun": "-t test",
  "tasks": [
    { "id": "clean",   "cmd": "rm -rf dist",   "dependsOn": [] },
    { "id": "compile", "cmd": "tsc",           "dependsOn": ["clean"] },
    { "id": "lint",    "cmd": "biome check .", "dependsOn": [],          "tags": ["test"] },
    { "id": "test",    "cmd": "vitest run",    "dependsOn": ["compile"], "tags": ["test"] }
  ]
}

Transitive deps fire automatically. layermix test runs clean, then compile, then test. layermix -t test runs everything tagged test, with max parallelism.

Drop it in CI:

layermix -t test --ci --junit report.xml

Why I built this

I kept writing the same shell glue in every project: "clean, then tsc, then in parallel run lint and test". make works for DAGs but fights modern shell escapes. turborepo and nx are heavier than I want for a small TypeScript project. npm-run-all does parallel but not dependencies.

layermix is one JSON file and a runner that works the same on my laptop, in CI, and inside a coding agent. A few opinionated choices:

  • A bare layermix in CI/AI mode it exits 1, so a scheduled agent can't silently succeed. In a terminal it opens the TUI idle.
  • Unknown task ids and tags exit 1 in every mode. layermix tst (typo for test) fails loudly instead of quietly succeeding.
  • Linear output is simple on purpose: [task] Starting... / Finished / Failed / Skipped headers, logs between them. Grep-friendly.
  • The same config drives TUI, linear, and dry-run JSON. There's no separate CI config.

Documentation

The site at https://layermix-labs.github.io/cli/ has the details. Each page also lives in this repo:

If you're using layermix from Claude Code or another coding agent, there's also an agent-skill.md you can drop into your project to teach the agent how to use it correctly.

Install

npm i -g @layermix/cli
# or ad-hoc, with npx
npx @layermix/cli init

Node 20+. Binary: layermix.

License

MIT