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

vue3-math-editor

v0.3.3

Published

A semantic equation editor for Vue 3: WYSIWYG equations rendered with KaTeX, exported as Content MathML (CellML-ready), MathJSON and LaTeX.

Readme

vue3-math-editor

A semantic equation editor for Vue 3: equations are edited WYSIWYG, rendered with KaTeX, and exported as MathJSON, Content MathML (optionally ready for CellML 2.0) and LaTeX.

Documentation

See docs/:

The demo (yarn dev) checks units with libCellML through the vue3-libcellml.js plugin: load a CellML units file (or press Example), give the variables units, and problems are underlined as you type. Open it with ?nolibcellml to run it without the plugin, and ?cellml for CellML-mode MathML.

Recommended IDE Setup

VS Code + Vue (Official) (and disable Vetur).

Recommended Browser Setup

Customize configuration

See Vite Configuration Reference.

Using it in an application

yarn add vue3-math-editor vue primevue katex primeicons
// main.ts: install PrimeVue with a theme, and import the styles
import 'katex/dist/katex.min.css'
import 'primeicons/primeicons.css'
import 'vue3-math-editor/style.css'
<script setup lang="ts">
import { EquationWorkbench, type EquationLine } from 'vue3-math-editor'
</script>

See Component interface for the props, events and the units checker.

Project Setup

corepack enable                     # once: yarn comes from package.json's packageManager
yarn install
yarn playwright install chromium    # once, for the browser tests

Compile and Hot-Reload for Development

yarn dev

Build

yarn build        # the library, into dist/ (what is published to npm)
yarn build:demo   # the demo application, into dist-demo/

Run the Tests

yarn test         # unit tests (Vitest)
yarn test:e2e     # browser tests (Playwright)

Lint with ESLint

yarn lint

License

Apache-2.0