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

@cendor/init

v0.2.2

Published

Make your project Cendor-ready and Cendor-fluent for your AI assistant in one step — writes assistant rules files, optional MCP config, and a correct starter, plus a `doctor` that catches wiring mistakes. Offline, no key, no network.

Readme

@cendor/init

One command to make your project Cendor-ready and Cendor-fluent for your AI assistant — plus a doctor that catches the wiring mistakes before they bite. Offline: no network, no API key.

npx @cendor/init            # detect + write assistant rules files (idempotent)
npx @cendor/init doctor     # validate the wiring; exit 1 on hard problems (CI-usable)

Optional developer tooling. It writes files and inspects your project — it makes no network call and no Cendor library depends on it at runtime. (Python users: uvx cendor-init.)

What init does

  1. Detects your project — Node (package.json) or Python (pyproject.toml / requirements), which provider SDKs you have, and which @cendor/* / cendor-* packages are installed.

  2. Writes the matching assistant rules file(s) so your assistant reads the correct Cendor call-shapes on every edit — no need to paste anything. Detected by default; --all for every one:

    • .github/copilot-instructions.md (GitHub Copilot)
    • .cursor/rules/cendor.mdc (Cursor)
    • AGENTS.md (the cross-tool default — always written)
    • a marked section in CLAUDE.md (Claude Code)
    • .windsurf/rules (Windsurf)

    Idempotent and safe: re-running updates a marker-delimited block in place — it never duplicates, and never clobbers your surrounding content. A dedicated file it didn't create is left alone unless you pass --force.

  3. Offers MCP setup (--mcp) — drops the connect config for the Cendor MCP server (remote mcp.cendor.ai or local npx @cendor/mcp / uvx cendor-mcp) where it's absent.

  4. Optional starter (--scaffold) — a minimal, correct starter in your language: a governed Agent loop (budget + guardrails + guard + audit) when @cendor/sdk / cendor-sdk is detected, otherwise an instrument() + budgeted-call example.

The rules content is a copy of section 3 of the docs source of truth, for-ai-assistants — the single place these traps live.

What doctor checks

Static checks only — it never mutates your project, and exits non-zero on hard problems so it works in CI:

  • Namespace — flags a stray cendor/__init__.py in your tree, or a bare import cendor (the namespace has no module body — import from cendor.<tool>).
  • Provider deps — a provider SDK your code imports but hasn't installed (Cendor never pulls one for you).
  • instrument() once — warns if Cendor is imported but the client is never wrapped (nothing is observed).
  • Money — flags coercing a price/cost to float / number (it should stay Decimal / decimal.js).
  • Versions — warns when an installed/pinned @cendor/* version trails the latest release.
npx @cendor/init --help

Options

| Flag | Effect | |---|---| | --all | write every assistant rules file, not just the detected ones | | --assistant <list> | comma-separated subset: copilot,cursor,agents,claude,windsurf | | --mcp | also drop MCP connect config where absent | | --scaffold | also write a correct starter — a governed Agent when the SDK is present, else instrument()+budget | | --force | overwrite an owned file (.cursor/rules/cendor.mdc) even if not ours | | --dry-run | show what would change without writing |

Apache-2.0 · cendor.ai · For AI assistants · MCP