Skip to content
JS
Package

mhchemparser

Parser to convert mhchem syntax to LaTeX syntax, for downstream inclusion in MathJax, KaTeX and similar projects.

v4.2.1, 24 May 2023Apache-2.0CommonJSTypes: Bundled
$ npm install mhchemparser

Key numbers

As of 25 Sept 2026
Weekly downloads
625.8k
+143% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v4.2.1
GitHub stars
28
3 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 804.1k (8 Sept 2026)Low 167.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

625,780 downloads last week, 2,875,027 in the last month. The 12-month change of +143% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
05 in total
Latest version
4.2.1, 24 May 20233 years ago
First published
21 Apr 2021
Last push to GitHub
14 Aug 20231,137 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 21 Apr 2021

Recent releases

VersionPublished
4.2.124 May 2023
4.2.022 May 2023
4.1.16 Jul 2021
4.1.017 May 2021
4.0.021 Apr 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
270 kB
Dependencies (0)
None
npm install mhchemparser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mhchemparser@4.2.1/
  • unpkghttps://unpkg.com/mhchemparser@4.2.1/
  • esm.shhttps://esm.sh/mhchemparser@4.2.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.