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

@prosemark/spellcheck-frontend

v0.0.3

Published

CodeMirror 6 extensions for **showing** spellcheck issues in a ProseMark (or other markdown) editor. This package does not ship a dictionary or spell engine; you supply misspelled ranges and optional suggestion data.

Readme

@prosemark/spellcheck-frontend

CodeMirror 6 extensions for showing spellcheck issues in a ProseMark (or other markdown) editor. This package does not ship a dictionary or spell engine; you supply misspelled ranges and optional suggestion data.

Published on npm: @prosemark/spellcheck-frontend.

What it provides

  • spellcheckIssues — Facet backed by a RangeSet<SpellcheckIssue>. Your code (for example a StateField) computes issues and provides them via spellcheckIssues.from(field).
  • SpellcheckIssue — Range value holding the misspelled word text and optional suggestions ({ word, isPreferred? }[]).
  • spellcheckExtension — Bundle to add: wavy underlines for issues, theme hooks, and the tooltip UI (high-precedence decorations so underlines work inside styled inline code).
  • suggestionFetcher — Optional facet: (word) => Promise<Suggestion[]> for loading suggestions when they are not already on the issue.
  • spellcheckActions — Optional facet: register tooltip actions (for example “add to dictionary”) with execute(word, view).

Theming (CSS variables)

Underline:

  • --pm-spellcheck-issue-underline-color
  • --pm-spellcheck-issue-background-color

Tooltip (see Styling for demo values and the spellcheck section):

  • --pm-spellcheck-tooltip-background, --pm-spellcheck-tooltip-border, --pm-spellcheck-tooltip-text, --pm-spellcheck-tooltip-error, --pm-spellcheck-tooltip-hover, --pm-spellcheck-tooltip-actions-border, --pm-spellcheck-tooltip-font-size

Dependencies

  • @codemirror/state, @codemirror/view
  • @prosemark/core

Example integration

The demo app uses nspell plus dictionary-en to compute issues and suggestions, then wires spellcheckExtension, suggestionFetcher, and spellcheckActions the same way as in the docs site demo.

In VS Code, the ProseMark - Code Spell Checker (cSpell) Integration extension connects the Code Spell Checker extension to this UI layer.