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

@dpdpguard/claude-code-plugin

v1.0.0

Published

Claude Code plugin for multi-regulation privacy compliance (DPDP Act, GDPR, CCPA, PDPA)

Readme

DPDPGuard Claude Code Plugin (@dpdpguard/claude-code-plugin)

Claude Code plugin bringing multi-regulation privacy compliance (DPDP Act 2023, GDPR, CCPA, PDPA) into your AI-assisted coding workflow.

What it does

  • Audit — a documented detection catalog covering PII leakage, consent dark patterns, retention gaps, children's data, rights endpoints, and security safeguards. Each rule carries a grep signal, a confirmation step, a statutory citation, and a default severity.
  • Scaffold — consent banners, preference centres, privacy notices, and DSR portals that satisfy the design rules the audit checks for.
  • Respond — a breach workflow that pins the 72-hour clock to the awareness timestamp and drafts both the Board intimation and the affected-principal notice.
  • Integrate — resolve each deployable in a workspace to the right DPDP Guard component (embeddable widget, client SDKs, server SDKs, or a client generated from the published API contract) and wire it, including the server-side enforcement and webhook handling a client-only integration leaves out.
  • Operate — live posture, gap, and DSR-queue queries against the DPDPGuard MCP agent surface at /mcp/v1, with every state change raised as a proposal for a named human to approve.
  • Guard — a PreToolUse hook that blocks git commit when the staged diff contains personal data, identity numbers, or credentials.

Everything is suggestion-only. Skills and agents report findings and produce drafts; they never modify application source, commit, file with a regulator, or contact a data principal.

Installation

claude plugin marketplace add https://github.com/dpdpguard/claude-code-plugin
claude plugin install dpdpguard

Or initialise in a project directly:

npx @dpdpguard/claude-code-plugin init

Commands

| Command | Purpose | |---|---| | /dpdp-audit | Multi-regulation privacy audit of the codebase or working diff | | /dpdp-score | Live compliance score and posture gaps from the MCP server | | /dpdp-integrate | Guided SDK integration for the detected stack | | /dpdp-consent | Consent banner, preference centre, and privacy notice | | /dpdp-breach | 72-hour breach response workflow and notification drafts | | /dpdp-dsr | List, inspect, and act on Data Subject Rights requests | | /dpdp-connect | Resolve the workspace to DPDP Guard components and wire MCP access |

See plugins/dpdpguard/README.md for the full skill, agent, and hook reference, and docs/dpdpbot-alignment.md for how this plugin maps onto the DPDP Guard platform's actual SDK, API, and agent surfaces.

Repository layout

.claude-plugin/marketplace.json   # marketplace catalog (source of truth)
.agents/plugins/marketplace.json  # Codex mirror (generated)
.github/workflows/
├── ci.yml                        # validate · test · lint · commitlint
└── publish.yml                   # npm Trusted Publishing (OIDC)
bin/
├── init.js                       # npx initializer
└── audit-ci.js                   # CI auditor entrypoint (placeholder)
scripts/
├── sync-codex.ts                 # generates Codex artefacts, deterministically
└── validate-plugin.ts            # enforces the CLAUDE.md structural rules
test/plugin.test.ts
plugins/dpdpguard/
├── .claude-plugin/plugin.json    # plugin manifest (source of truth)
├── .codex-plugin/plugin.json     # generated — never edit by hand
├── .mcp.json                     # remote agent surface, OAuth via Claude Code
├── hooks/                        # hooks.json + POSIX sh guards
├── skills/                       # 13 skills, some with references/
├── agents/                       # 3 subagents
└── commands/                     # 7 slash commands

Development

bun install
bun run validate        # frontmatter, naming, hooks schema, manifest consistency
bun test                # validator unit tests + hook behaviour tests
bun run lint            # markdownlint
bun run lint:shell      # shellcheck --shell=sh
bun run sync:codex      # regenerate Codex artefacts after editing plugin.json

CI runs all of the above on every pull request. sync:codex output is a pure function of the source manifests, so the drift check is meaningful.

Publishing

Releases publish to npm via Trusted Publishing (OIDC) — no npm token is stored in this repository. Publishing runs from .github/workflows/publish.yml on a published GitHub release, and requires a one-time trusted-publisher configuration on npmjs.com:

| Field | Value | |---|---| | Organization or user | dpdpguard | | Repository | claude-code-plugin | | Workflow filename | publish.yml | | Environment | npm-publish |

The workflow verifies that the release tag matches package.json, that the version is not already published, and that validation, tests, and lint pass before it publishes. Provenance attestation is attached automatically.

Status

bin/audit-ci.js is currently a placeholder — it does not execute the rule catalog, and the GitHub Action built on it should not be treated as a compliance gate yet. The detection logic today lives in the skills, which run inside Claude Code. The remote rule registry at rules.dpdpguard.com is not yet wired up.

License

MIT © DPDPGuard — see LICENSE.