JSPM

  • Created
  • Published
  • Downloads 97
  • Score
    100M100P100Q80996F

Package Exports

  • @femtomc/mu

Readme

@femtomc/mu

Node CLI (and programmatic wrapper) for the mu .mu/ issue DAG + forum store.

Install

After publishing:

npm install -g @femtomc/mu
# or: bun add -g @femtomc/mu

From this repo:

cd mu
bun install
bun run build
packages/cli/dist/cli.js --help

Usage

import { run } from "@femtomc/mu";

const r = await run(["status", "--json"]);
if (r.exitCode !== 0) throw new Error(r.stdout);
console.log(r.stdout);

Tests / Typecheck

From the mu/ repo root:

bun test packages/cli
bun run typecheck

Runtime

  • Node-only (ESM).
  • Reads/writes a .mu/ store at the git repo root (use mu init to create it).