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

@mulyu/monban

v0.2.6

Published

コーディングエージェントのための番所。プロジェクト構造の一貫性を検証するCLI。

Downloads

556

Readme

monban

日本語 | English

A guardhouse for coding agents. The gatekeeper checks whether code is allowed through the checkpoint.

monban is a harness CLI that statically inspects code generated or edited by coding agents (Claude Code, Cursor, Copilot, etc.) — in CI or locally.

Language-agnostic. No AST required. Works on projects in any language.

For the design philosophy, see docs/concepts.md.


Checks

| Command | Target | Docs | |---------|------|-------------| | monban path | File and directory existence, naming, depth, count | docs/path.md | | monban content | Regex-based forbidden/required patterns, BOM, invisible characters, secrets | docs/content.md | | monban doc | Doc reference hashes and broken links | docs/doc.md | | monban github | GitHub Actions workflows (pinning, permissions, triggers, etc.) and CODEOWNERS | docs/github.md | | monban deps | Validate manifest dependency names against registries: existence, freshness, popularity, similarity | docs/deps.md | | monban git | Commit messages, trailers, issue references, change granularity, ignore bypasses | docs/git.md | | monban runtime | Runtime version pins (.nvmrc / engines / Dockerfile FROM / GitHub Actions matrix) — cross-file consistency | docs/runtime.md | | monban license | LICENSE file detection (SPDX tag / template) and source-header SPDX identifiers | docs/license.md | | monban docker | Dockerfile checks: tag pinning, USER, HEALTHCHECK, forbidden instructions | docs/docker.md |

The --diff flag, which scopes a run to a PR diff, works on every command (docs/diff.md). For reusing organization-wide rule sets, see docs/extends.md.


Install

# Global install
npm install -g @mulyu/monban

# One-off run (recommended for CI)
npx @mulyu/monban all

The package name is @mulyu/monban, but the installed command is monban.

See docs/getting-started.md for the fastest path to a first run.


Usage

# Run every check
monban all

# Run checks individually
monban path
monban content
monban doc
monban github
monban deps
monban git
monban runtime
monban license
monban docker

# Run a single rule
monban path --rule forbidden

# Scope to a PR diff
monban all --diff=main

# JSON output
monban all --json

Configuration

Place monban.yml at the project root. See the per-command docs for the configuration fields.

# monban.yml
extends:
  - type: local
    path: "./shared/base.yml"

exclude:
  - "**/node_modules/**"
  - "**/dist/**"

path:    { ... }   # docs/path.md
content: { ... }   # docs/content.md
doc:     { ... }   # docs/doc.md
github:  { ... }   # docs/github.md
deps:    { ... }   # docs/deps.md
git:     { ... }   # docs/git.md
runtime: { ... }   # docs/runtime.md
license: { ... }   # docs/license.md
docker:  { ... }   # docs/docker.md

Coding agent integration

Claude Code

Add the following to CLAUDE.md to encourage the agent to run the checks after every change:

## Post-change verification

After changing code, always run `npx @mulyu/monban all` and confirm every check passes.

Install as a plugin (recommended)

The monban skill and the /monban:init command can be installed through the Claude Code marketplace.

/plugin marketplace add Mulyu/monban
/plugin install monban@mulyu
/reload-plugins
  • monban skill: supplies the command table, output interpretation, fix workflow, and monban.yml conventions to the agent
  • /monban:init: surveys an existing project and generates a monban.yml scaffold

The marketplace manifest is at .claude-plugin/marketplace.json; the plugin itself is at plugins/monban/.

GitHub Actions

- name: monban
  run: npx @mulyu/monban all --diff=${{ github.event.pull_request.base.sha }}

Omitting --diff runs a full scan. For PR review, passing the base SHA so only the diff is checked is the recommended setup.


Docs


License

MIT