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

jsslint-wasm

v1.1.0

Published

Browser/Node WASM build of the Journal of Statistical Software (JSS) LaTeX/BibTeX style checker. Runs fully client-side — no network access is reachable from this crate by construction.

Readme

jsslint-wasm

A browser / Node.js WASM build of the JSS style checker — a linter for LaTeX / Sweave / R Markdown manuscripts (.tex/.ltx/.Rnw/.Rmd + .bib) submitted to the Journal of Statistical Software (JSS).

It runs entirely client-side: no network access is linked into this package at all (not even behind a flag), so manuscripts never leave the machine — by construction. This is the engine behind the in-browser checker and the project's VS Code extension.

Install

npm install jsslint-wasm

Usage

Three exports, all taking the same request object (camelCase keys) and throwing on a malformed request or unparseable input:

import { render, fix, analyze } from "jsslint-wasm";

// Lint and render a report string:
const report = render({
  files: [["paper.tex", texSource], ["refs.bib", bibSource]],
  output: "json",           // "terminal" | "json" | "sarif" | "html"
  mode: "reviewer",         // "author" | "reviewer"
  ignoreRules: "JSS-SRC-001,JSS-MARKUP-001",
  minConfidence: "medium",  // "low" | "medium" | "high"
  failOn: "error",          // "error" | "warning" | "info"
});

// Apply every safe auto-fix in memory; returns [path, fixedContents]
// pairs for the files that changed (`output` is ignored):
const changed = fix({ files: [["paper.tex", texSource]] });

// Structured violations, each with its fix payload when one exists
// ({start, end, replacement, description} character offsets) — what the
// VS Code extension's per-diagnostic quick fixes are built on:
const violations = analyze({ files: [["paper.tex", texSource]] });

files is an array of [path, contents] pairs; every field except files is optional. There is no .jss-lint.toml filesystem lookup on this target (no real filesystem in WASM) — pass any overrides explicitly. Note that render(output: "json") reports fix: null per violation by design (byte parity with the Python JSON contract) — use analyze() when you need the fix payloads.

The package is built with wasm-pack; the default export targets bundlers (webpack/vite/rollup) and needs no manual init step. See rust/README.md for the Node (--target nodejs) variant and build instructions, and the project README for the full rule catalogue.

License

MIT.