Gathering detailed insights and metrics for @mdx-js/esbuild
Gathering detailed insights and metrics for @mdx-js/esbuild
Gathering detailed insights and metrics for @mdx-js/esbuild
Gathering detailed insights and metrics for @mdx-js/esbuild
npm install @mdx-js/esbuild
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
18,598 Stars
1,762 Commits
1,160 Forks
88 Watchers
11 Branches
189 Contributors
Updated on Jul 12, 2025
Latest Version
3.1.0
Package Id
@mdx-js/esbuild@3.1.0
Unpacked Size
14.22 kB
Size
5.45 kB
File Count
9
NPM Version
10.9.0
Node Version
23.0.0
Published on
Oct 18, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
1
@mdx-js/esbuild
esbuild plugin for MDX.
This package is an esbuild plugin to support MDX.
This integration is useful if you’re using esbuild (or another tool that uses esbuild).
If you want to evaluate MDX code then the lower-level compiler (@mdx-js/mdx
)
can be used.
to support nonstandard JSX runtime (such as Vue), @mdx-js/mdx
can also be
used, or our webpack loader (@mdx-js/loader
) or Rollup plugin
(@mdx-js/rollup
).
This package is ESM only. In Node.js (version 16+), install with npm:
1npm install @mdx-js/esbuild
Do something like this with the esbuild API:
1import mdx from '@mdx-js/esbuild' 2import esbuild from 'esbuild' 3 4await esbuild.build({ 5 // Replace `index.js` with your entry point that imports MDX files: 6 entryPoints: ['index.js'], 7 format: 'esm', 8 outfile: 'output.js', 9 plugins: [mdx({/* jsxImportSource: …, otherOptions… */})] 10})
This package exports no identifiers.
The default export is mdx
.
mdx(options?)
Create an esbuild plugin to compile MDX to JS.
esbuild takes care of turning modern JavaScript features into syntax that works wherever you want it to. With other integrations you might need to use Babel for this, but with esbuild that’s not needed. See esbuild’s docs for more info.
options
(Options
, optional)
— configurationESBuild plugin (Plugin
from esbuild
).
Options
Configuration (TypeScript type).
Options are the same as CompileOptions
from @mdx-js/mdx
.
This package is fully typed with TypeScript.
It exports the additional type Options
.
See § Types on our website for information.
Projects maintained by the unified collective are compatible with maintained versions of Node.js.
When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line, @mdx-js/esbuild@^3
,
compatible with Node.js 16.
See § Security on our website for information.
See § Contribute on our website for ways to get started. See § Support for ways to get help.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
2 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 5/30 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More