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

@mandujs/cli

v0.9.10

Published

Agent-Native Fullstack Framework - 에이전트가 코딩해도 아키텍처가 무너지지 않는 개발 OS

Readme

Installation

# Bun required
bun add -D @mandujs/cli

Quick Start

# Create a new project
bunx @mandujs/cli init my-app
cd my-app

# Start development server
bun run dev

Commands

mandu init <project-name>

Creates a new Mandu project.

bunx @mandujs/cli init my-app

Generated structure:

my-app/
├── apps/
│   ├── server/main.ts    # Server entry point
│   └── web/entry.tsx     # Client entry point
├── spec/
│   └── routes.manifest.json  # SSOT - Route definitions
├── tests/                # Test templates
├── package.json
└── tsconfig.json

mandu dev

Starts the development server (with HMR support).

bun run dev
# or
bunx mandu dev

mandu spec

Validates the spec file and updates the lock file.

bun run spec

mandu generate

Generates code based on the spec.

bun run generate

mandu guard

Checks architecture rules and auto-corrects violations.

bun run guard

# Disable auto-correction
bunx mandu guard --no-auto-correct

Auto-correctable rules:

  • SPEC_HASH_MISMATCH → Updates lock file
  • GENERATED_MANUAL_EDIT → Regenerates code
  • SLOT_NOT_FOUND → Creates slot file

Writing Spec Files

spec/routes.manifest.json is the Single Source of Truth (SSOT) for all routes.

{
  "version": "1.0.0",
  "routes": [
    {
      "id": "getUsers",
      "pattern": "/api/users",
      "kind": "api",
      "module": "apps/server/api/users.ts"
    },
    {
      "id": "homePage",
      "pattern": "/",
      "kind": "page",
      "module": "apps/server/pages/home.ts",
      "componentModule": "apps/web/pages/Home.tsx"
    }
  ]
}

Slot System (v0.2.0+)

Add slotModule to separate business logic:

{
  "id": "getUsers",
  "pattern": "/api/users",
  "kind": "api",
  "module": "apps/server/api/users.generated.ts",
  "slotModule": "apps/server/api/users.slot.ts"
}
  • *.generated.ts - Managed by framework (do not modify)
  • *.slot.ts - Business logic written by developers

Development Workflow

# 1. Edit spec
# 2. Validate spec and update lock
bun run spec

# 3. Generate code
bun run generate

# 4. Check architecture
bun run guard

# 5. Run tests
bun test

# 6. Start dev server
bun run dev

Testing

Built-in support for Bun test framework.

bun test           # Run tests
bun test --watch   # Watch mode

Requirements

  • Bun >= 1.0.0
  • React >= 18.0.0

Related Packages

License

MIT