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/wism

v0.4.6

Published

A structure and dependency linter for TypeScript, Rust and Markdown, written in Rust and configured from vite.config.ts: directory kinds chosen by marker files, allowed layouts, FSD layers and import rules.

Readme

@r_masseater/wism

The engine of a structure and dependency linter for TypeScript, Rust and Markdown, configured from vite.config.ts.

A Rust addon reads every import, use path and Markdown link of the files git tracks into one graph. Rules are TypeScript plugins that check that graph, so a rule package runs on every OS without its own native build. The official presets are the @r_masseater/wism/presets subpath.

import "@r_masseater/wism/vite";
import { definePlugin, defineRule } from "@r_masseater/wism";
import { skill, structure, workspace } from "@r_masseater/wism/presets";
import { defineConfig } from "vite-plus";

const noSharedToApp = defineRule({
  meta: { description: "shared never links into app" },
  check: ({ edges, report }) => {
    for (const edge of edges) {
      if (edge.from.includes("/shared/") && edge.specifier.includes("/app/")) {
        report({ path: edge.from, line: edge.line, message: "points into app" });
      }
    }
  },
});

const layout = structure({ kinds: [workspace({ paths: ["libs/*"] }), skill()] });

export default defineConfig({
  wism: {
    ...layout,
    plugins: {
      ...layout.plugins,
      local: definePlugin({ rules: { "no-shared-to-app": noSharedToApp } }),
    },
    rules: { ...layout.rules, "local/no-shared-to-app": "error" },
    ignores: ["**/fixtures/**"],
  },
});

Run wism to check the files git tracks, or call lint from code.

Presets

| Preset | Rules | | ----------- | ------------------------------------------------------------------------------------------ | | fsd | layer-name, loose-file, layer-import, cross-slice, public-api, wildcard-export | | placement | placement | | links | link-target |

presets defaults to all of them. Every rule of a chosen preset is an error, named structure/<rule>. Override one with rules, such as "structure/link-target": "warn".

The preset rules run in TypeScript on the import graph that the engine has read, 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.

None of the tools finds a problem in this repository except steiger, whose recommended rules do not match the layout the repository uses. wism also checks file placement and Rust and Markdown imports, which the others do not.

masseater.dev

| Tool | Version | Cold | Warm | Peak RSS | Findings | Same as ours | Only ours | Only theirs | | ------------------------ | -------------------------------------------- | -------- | --------------- | -------- | -------- | ------------ | --------- | ----------- | | ls-lint | 2.3.2 | 280 ms | 144 ms ± 11 ms | 57 MB | 0 | | | | | wism | workspace | 3.99 s | 2.80 s ± 78 ms | 466 MB | 0 | | | | | dependency-cruiser | 18.8.0 | 5.76 s | 4.72 s ± 106 ms | 576 MB | 0 | | | | | Sheriff | 0.20.0 | 36.13 s | 35.39 s ± 0 ms | 290 MB | 0 | | | | | eslint-plugin-boundaries | 7.4.4 on ESLint 10.15.0 | 78.27 s | 77.22 s ± 0 ms | 666 MB | 0 | | | | | steiger | 0.10.0, @feature-sliced/steiger-plugin 0.8.2 | 290.92 s | 294.30 s ± 0 ms | 260 MB | 395 | | | |

  • wism: The repository's own config: placement, FSD layers and imports of TS, Rust and Markdown
  • dependency-cruiser: FSD layer imports in apps//src, libs//src and tools/*/src
  • eslint-plugin-boundaries: FSD layer imports in apps//src, libs//src and tools/*/src
  • Sheriff: FSD layer imports in apps//src, libs//src and tools/*/src, from every file in src/app
  • steiger: FSD recommended rules, one run per src directory
  • ls-lint: File and directory names in apps//src, libs//src and tools/*/src

Agent skills

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