Skip to content
JS
Comparison

@mdx-js/react vs markdown-to-jsx

MarkdownPackage data 25 Sept 2026
@mdx-js/reactv3.1.1, 29 Aug 2025

React context for MDX

$ npm install @mdx-js/react
markdown-to-jsxv9.10.3, 15 Sept 2026

A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.

$ npm install markdown-to-jsx
Metric@mdx-js/reactmarkdown-to-jsxDifference
Weekly downloads14,560,9123,783,831@mdx-js/react 3.8x higher
12-month download growth+101%+16%@mdx-js/react +84 pts
Gzip size---
Minified size---
Dependencies10@mdx-js/react 1 more
Unpacked size14 kB4.8 MB@mdx-js/react 350.2x smaller
Latest release3.1.1, 29 Aug 20259.10.3, 15 Sept 2026markdown-to-jsx 13 months more recent
Releases, last 12 months054markdown-to-jsx 54 more
First published28 Mar 20197 Dec 2015markdown-to-jsx 3.3 years earlier
GitHub stars19,8022,393@mdx-js/react 8.3x higher
Open issues812markdown-to-jsx 4 more
Open pull requests111@mdx-js/react 10 more
Contributors---
Commits, last 52 weeks25309markdown-to-jsx 12.4x higher
TypeScript typesBundledBundledSame
Module formatESM onlyESM + CommonJSDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

@mdx-js/react14.6m latest weekmarkdown-to-jsx3.8m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

@mdx-js/react

Major versions
  1. 1.0.112 Apr 2019
  2. 2.0.01 Feb 2022
  3. 3.0.024 Oct 2023
Last 5 releases
  1. 3.1.129 Aug 2025
  2. 3.1.018 Oct 2024
  3. 3.0.112 Feb 2024
  4. 3.0.024 Oct 2023
  5. 2.3.09 Feb 2023
75 releases in total, 0 in the last 12 months

markdown-to-jsx

Major versions
  1. 1.0.07 Dec 2015
  2. 2.0.021 Mar 2016
  3. 3.0.028 Jun 2016
  4. 4.0.329 Sept 2016
  5. 5.0.012 Jan 2017
  6. 6.0.24 Dec 2017
  7. 7.0.07 Sept 2020
  8. 8.0.026 Oct 2025
  9. 9.0.022 Nov 2025
Last 5 releases
  1. 9.10.315 Sept 2026
  2. 9.10.23 Aug 2026
  3. 9.10.131 Jul 2026
  4. 9.10.031 Jul 2026
  5. 9.9.020 Jul 2026
172 releases in total, 54 in the last 12 months
@mdx-js/react

-

markdown-to-jsx

-

@mdx-js/react

-

markdown-to-jsx

-

  • Need no runtime dependenciesmarkdown-to-jsx (@mdx-js/react has 1, markdown-to-jsx has 0)
  • Need both ESM and CommonJS entry pointsmarkdown-to-jsx (@mdx-js/react: ESM only; markdown-to-jsx: ESM + CommonJS)
  • Need to load it with require()markdown-to-jsx
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@mdx-js/react: none declared; markdown-to-jsx: >= 18 (engines field in package.json)
  • Need the more recent releasemarkdown-to-jsx (9.10.3 on 15 Sept 2026 vs 3.1.1 on 29 Aug 2025)
  • Higher weekly npm downloads@mdx-js/react (14.6m vs 3.8m)

Each line is generated from the data above.

Indexability: Indexed.