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

vibator

v3.0.0

Published

Project rules instead of check scripts: a small framework for the checks your linters do not cover.

Readme

Quality npm version node license: MIT

Project rules instead of check scripts.

Coding agents write a new scripts/check-*.mjs each time a project needs a check that no linter provides. vibator gives those checks one home: a rule is one file in .vibator/, and npx vibator runs them all.

If a tool you already use has a rule for a check, configure that tool. vibator runs the checks that only your project has.

A rule

// .vibator/colors-from-tokens.ts
import { defineRule, vibator } from "vibator";

export default defineRule({
  id: "colors-from-tokens",
  title: "CSS colors come from tokens.css",
  check: () =>
    vibator.text
      .search(
        vibator.project.files.match(["src/**/*.css", "!src/styles/tokens.css"]),
        /#[0-9a-f]{3,8}\b/i,
      )
      .map((hit) => ({
        ...hit,
        message: `Hardcoded color ${hit.text}`,
        fix: "Use a variable from tokens.css",
      })),
});
$ npx vibator
src/components/card.css:11:23 error colors-from-tokens  Hardcoded color #f97316

A rule reads the project through the vibator namespace: files, text, JSON, TypeScript syntax trees, package.json, git, and the shell. Each finding keeps three fields apart: message (what is wrong), expected (the standard), and fix (the next action), so an agent can act on it.

Install

npm install --save-dev vibator
npx vibator init     # writes a starter rule into .vibator/
npx vibator

vibator requires Node 24 or later.

Test a rule

import { runRule } from "vibator/testing";
import rule from "../.vibator/colors-from-tokens.ts";

const findings = await runRule(rule, {
  files: { "src/card.css": "a { color: #fff; }" },
});

Docs

The guides are in docs/guide, and the site vibator.dev publishes them. The design docs are the reference and the contract.

| Document | Covers | | ---------------------------------------------------------- | ------------------------------------------- | | vibator-namespace.md | The vibator namespace a rule reads from | | rule-definition.md | defineRule, the rule shape, and runRule | | configuration.md | .vibator.json fields and rule loading | | command-line.md | The command, its flags, and the subcommands |

Skills

The package ships three skills for Claude Code and compatible agents:

  • writing-vibator-rules: write a rule instead of a check script.
  • fixing-vibator-findings: read a report and resolve its findings.
  • configuring-vibator: set severities, options, extends, plugins, and excludes.
npx vibator skills --install     # copy into .claude/skills/

Contributing

See CONTRIBUTING.md. Participation is governed by the Code of Conduct. Commits follow Conventional Commits. ACCESSIBILITY.md says what the command line and the docs do for accessibility, and how to report a barrier.

License

MIT