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

@r_masseater/y8

v0.7.3

Published

A Markdown linter written in Rust that matches markdownlint's built-in rules, configured from vite.config.ts, with TypeScript rules, markdownlint custom-rule support and a Japanese tokenizer.

Readme

@r_masseater/y8

A Markdown linter written in Rust and configured from vite.config.ts.

Its built-in rules give the same results as markdownlint's MD001 to MD060. Rules can also be written in TypeScript, and markdownlint custom rules run unchanged.

import { definePlugin, defineRule } from "@r_masseater/y8";
import "@r_masseater/y8/vite";
import { defineConfig } from "vite-plus";

const oneTitle = defineRule({
  meta: { description: "A document has one top-level heading" },
  create: (context) => ({
    heading: (node) => {
      if (node.data.level === 1 && node.start > 0) {
        context.report({ node, message: "Use one top-level heading" });
      }
    },
  }),
});

export default defineConfig({
  y8: {
    plugins: { local: definePlugin({ rules: { "one-title": oneTitle } }) },
    rules: {
      "markdownlint/MD013": "off",
      "local/one-title": "error",
    },
    ignores: ["vendor/**"],
  },
});

Run y8 to lint the Markdown files git tracks, or call lint from code.

y8 keeps the built-in rules' results in node_modules/.cache/y8, keyed by the file's content, the config and the y8 build, and reuses them on the next run. Set cache: false to turn this off.

Japanese tokenizer

morphemesOf splits Japanese text into morphemes with Lindera and the IPADIC dictionary built into the addon. @r_masseater/y8/kuromojin has the same exports as kuromojin, so textlint rules that use kuromojin can run on it.

Presets

Pick the presets you want and list them in extends, or take every one with recommended().

| Preset | Rules | | --------------- | ---------------------------------------------------------------------------------------- | | documents | docs/*: link targets, forward slashes, local paths, emails, placeholders in every file | | readme | readme/*: the shape of README.md | | agentsMd | agents-md/*: the shape of AGENTS.md and CLAUDE.md, written in English | | skillMd | skill-md/*: the shape of skills/*/SKILL.md | | markdownStyle | Settings for the built-in markdownlint/* rules | | agentConfig | agnix/*: agent configuration checks built into y8 |

The preset rules use only the rule API of y8, so they need no native build of their own.

Comparison

Measured on 2026-11-19 on linux x64, 4 CPUs with lint-bench, which keeps the full results in results.md. Cold runs drop the page cache and the tools' caches first. "Same as ours", "Only ours" and "Only theirs" compare findings by file, line and rule where both tools use the same rules.

y8 reports the same findings as markdownlint-cli2 apart from a few lines, and runs 5 to 26 times faster. rumdl is faster still; its defaults differ from markdownlint (it adds MD043, MD057 and MD067 findings and drops MD060), so its findings overlap only in part.

masseater.dev

| Tool | Version | Cold | Warm | Peak RSS | Findings | Same as ours | Only ours | Only theirs | | ----------------- | ------------------------------------------------------- | ------ | --------------- | -------- | -------- | ------------ | --------- | ----------- | | rumdl | 0.3.4 | 388 ms | 94 ms ± 12 ms | 32 MB | 7198 | 3836 | 2648 | 3362 | | y8 | workspace | 1.37 s | 777 ms ± 48 ms | 221 MB | 6484 | | | | | markdownlint-cli2 | 0.24.1 | 3.83 s | 3.61 s ± 219 ms | 254 MB | 6486 | 6484 | 0 | 2 | | remark-lint | remark-cli 12.0.1, remark-preset-lint-recommended 7.0.1 | 3.96 s | 3.74 s ± 103 ms | 346 MB | 5080 | | | |

  • y8: Markdown files git tracks, markdownlint's default rules
  • markdownlint-cli2: Markdown files git tracks, markdownlint's default rules
  • rumdl: Markdown files git tracks, markdownlint's default rules
  • remark-lint: Markdown files git tracks, remark-preset-lint-recommended

nodejs/node

| Tool | Version | Cold | Warm | Peak RSS | Findings | Same as ours | Only ours | Only theirs | | ----------------- | ------------------------------------------------------- | ------- | -------------- | -------- | -------- | ------------ | --------- | ----------- | | rumdl | 0.3.4 | 1.06 s | 138 ms ± 11 ms | 81 MB | 92719 | 84761 | 16312 | 7958 | | y8 | workspace | 2.45 s | 1.36 s ± 65 ms | 429 MB | 101073 | | | | | markdownlint-cli2 | 0.24.1 | 37.35 s | 35.76 s ± 0 ms | 1051 MB | 101075 | 101071 | 2 | 4 | | remark-lint | remark-cli 12.0.1, remark-preset-lint-recommended 7.0.1 | 36.24 s | 36.24 s ± 0 ms | 1496 MB | 8508 | | | |

  • y8: Markdown files git tracks, markdownlint's default rules
  • markdownlint-cli2: Markdown files git tracks, markdownlint's default rules
  • rumdl: Markdown files git tracks, markdownlint's default rules
  • remark-lint: Markdown files git tracks, remark-preset-lint-recommended

Agent skills

The package ships agent skills in skills/. Add permissions: { "@r_masseater/y8": { skills: true } } to pnpm-workspace.yaml and vp install links them into the skill directories of your agents.