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

@mnikks01/sysdesign

v0.1.2

Published

System Design Assistant (#6) engine — generate architecture diagrams (Mermaid), ADRs, weighted tradeoff analysis, persisted design memory, and interview-prep grading. Node native TypeScript; zero-network.

Readme

System Design Assistant — engine (Phase A) ✅

Install & CLI

diagrams, ADRs, tradeoff tables, and interview prep. Requires Node ≥18.

npm i -g @mnikks01/sysdesign    # then run `sysdesign …`, or use npx without installing:
npx @mnikks01/sysdesign pattern scalable-web    # built-in reference architecture (Mermaid)
npx @mnikks01/sysdesign diagram arch.json
npx @mnikks01/sysdesign adr adr.json
npx @mnikks01/sysdesign tradeoffs tradeoffs.json
npx @mnikks01/sysdesign questions

The core engine for project #6, your AI co-architect. Generate architecture diagrams (Mermaid), draft ADRs, run weighted tradeoff analysis, persist + iterate design memory, and practice with an interview-prep grader. Pure TypeScript, Node 24 native TS, zero-network. (Grounding designs in your codebase via the Codebase Intelligence engine #2 is the V1 integration.)

Status: Phase A built + tested (2026-06-21)

  • DiagramsArchitectureSpec → Mermaid (node shapes by kind: client/service/db/cache/queue/external) + starter patterns (scalable-web, event-driven).
  • ADRs — MADR-style markdown (context / decision / alternatives / consequences).
  • Tradeoffs — weighted decision matrix → scored ranking + recommendation (+ markdown table).
  • Design memory — create / get / list / iterate (version bump); render a full design document.
  • Interview prep — question bank + rubric-based answer grading (covered vs missing topics, score).
  • 13/13 tests pass (scripts/test.ts).

Run it

node scripts/demo.ts   # build a URL-shortener design (diagram + tradeoffs + ADR) + grade an answer
node scripts/test.ts   # 13 assertions

API

import { SystemDesignAssistant } from "./src/index.ts";
const sda = new SystemDesignAssistant();
const d = sda.designs.create({ title, problem });
sda.designs.update(d.id, { architecture: sda.pattern("scalable-web"), adrs: [...], tradeoffs: {...} });
sda.doc(sda.designs.get(d.id));      // full markdown design doc (with mermaid)
sda.grade("url-shortener", answer);  // { covered, missing, score, feedback }

Structure

src/
  types.ts       # ArchitectureSpec, ADR, Tradeoff*, Design
  diagram.ts     # toMermaid() + named patterns
  adr.ts         # renderAdr() (MADR markdown)
  tradeoffs.ts   # analyze() + renderTradeoffs() (weighted matrix)
  design.ts      # DesignStore + renderDesignDoc()
  interview.ts   # question bank + gradeAnswer()
  index.ts       # SystemDesignAssistant facade
scripts/
  demo.ts / test.ts

Next

  • MCP server (make_diagram / draft_adr / analyze_tradeoffs / grade_answer) and web (interactive design canvas, ADR/tradeoff editors, interview mode).
  • V1: ground designs in a real codebase via #2; design memory across a team; LLM-assisted reasoning (gated on a key).