{"_id":"@m2d/react-markdown","_rev":"10-27a8abdf63f74ec4d1817d00e0b107e2","name":"@m2d/react-markdown","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.0":{"name":"@m2d/react-markdown","version":"0.0.0","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"43769a6d96fc9423db0411ad21bcd81f2fc6adb5","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.0.0.tgz","fileCount":34,"integrity":"sha512-Y4S2Nk+UuPcTUxMnU3L3isGG+IGRAzuIbto66eEjzDwM938KX1CRu/v+wjUXd9Q7y/HvTojic60cl/KO/a6YKQ==","signatures":[{"sig":"MEQCIBQBR+LtIFIxFCwJb6QzbuuhJjkzySnQzJdTB99XF6qAAiAAvn/zEqcYEWIbuus06RuZ7ZWxgzQkcnYwKdUQSJZHPQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30600},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"069492ba6f4df38f635cff7fd6e73e2b2bcd2ddf","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","actor":{"name":"mayank1513","type":"user","email":"mayank.srmu@gmail.com"},"email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","react-dom":"^19.1.0","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","@types/mdast":"^4.0.4","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"next":">=10","react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.0.0_1750519721636_0.7046242149826238","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@m2d/react-markdown","version":"0.1.0","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"acc4e6be3ae2d4e64961c224196b6896fff6c608","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.1.0.tgz","fileCount":37,"integrity":"sha512-/TCuXdWaILDwe2Oojp4BdTPzqQFbyEZOfG1xuruv7UR4fTvt4E0+HMKMBNbO0ANJd7cgH4ZSv94yOYv7/onNZw==","signatures":[{"sig":"MEQCIA4CDVEqJCCkUb1j+rbe5vZ/aZV7uICydEkyH4OZ5fHLAiAfExY1VXU+i6U+rUEEYWJb5Nuy4XlTn5eV86Q+y6I9QQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33091},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"62f7976558acb09b5bbc693d8dee72a32a79dff1","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","actor":{"name":"mayank1513","type":"user","email":"mayank.srmu@gmail.com"},"email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","react-dom":"^19.1.0","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","@types/mdast":"^4.0.4","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"next":">=10","react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.1.0_1750520873188_0.2020933767547357","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@m2d/react-markdown","version":"0.1.1","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.1.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"dcf8cc8da9178cb4d073c4e01e28375e646562cf","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.1.1.tgz","fileCount":37,"integrity":"sha512-9HZu3u0O3BuNXpduareL9bMFlIwWPbDC86tcDjNFI4IiLXkueTq/jTesfYWZ5s8qcQqlAYx6BRmKO3GRAF6xEg==","signatures":[{"sig":"MEYCIQD9f50GWfTHbI+xZzEp/FiEiHZIOGcDo5BlzdWryTkdnQIhANHM849qZIXUdtg3KI0RiCHzb5Y2Kj1BLEWt2pW6V/Jl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33091},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"9a863962fb52766874d462b1278dc68533af224d","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","actor":{"name":"mayank1513","type":"user","email":"mayank.srmu@gmail.com"},"email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","react-dom":"^19.1.0","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","@types/mdast":"^4.0.4","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"next":">=10","react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.1.1_1750522464842_0.923252278155716","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@m2d/react-markdown","version":"0.2.0","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.2.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"ef0a83e5e3eddcf2e5387042385d9e674cdf5a21","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.2.0.tgz","fileCount":48,"integrity":"sha512-ggeg7fWKS7qAtsNpPwGFZ2BjN/Ci/CtSwsWkIIKsinfXs1GMgPP3OAiYtcM8RYDUWT3zRYzmjcSubBKHTlvi8w==","signatures":[{"sig":"MEYCIQCnyWq3UszipC7+Ca5dZVvQV5jbvCcBQvV87q7LWxk4QgIhAOOtTiycow1bBsURJPOpxm8i4cXk5mhvfZ9+vsFZTqJe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50529},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"e465592968ac000ed615201a629a4523a974774c","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","actor":{"name":"mayank1513","type":"user","email":"mayank.srmu@gmail.com"},"email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","react-dom":"^19.1.0","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","@types/mdast":"^4.0.4","@types/react":"^19.1.4","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","fast-deep-equal":"^3.1.3","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"next":">=10","react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.2.0_1750568341768_0.5049419001348285","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@m2d/react-markdown","version":"0.2.1","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.2.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"068d488189ab44f2e1082dfb12f91daf981e56da","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.2.1.tgz","fileCount":48,"integrity":"sha512-5l+dBOy+rHoXMpulZxNya/PtsFNsdyOqDmaFhk8FrCPzadCf1bYSkGRppohVjbfaw1mVD1aV4atln4/+gDSpfw==","signatures":[{"sig":"MEUCIDEKe5tj26Sb7/q7mAzL6e/guEabX0tPeqBOCZzYnSj4AiEAtG3O+0F4//KU6MHDy6kKh9vXj+L2UhDenM86IOU8374=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50694},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./dist/utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"de19a1a047d767d5fd4e454077e99f0d9e83fdde","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","actor":{"name":"mayank1513","type":"user","email":"mayank.srmu@gmail.com"},"email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","react-dom":"^19.1.0","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","@types/mdast":"^4.0.4","@types/react":"^19.1.4","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","fast-deep-equal":"^3.1.3","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"next":">=10","react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.2.1_1751259560269_0.8532981625350609","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@m2d/react-markdown","version":"0.3.0","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@0.3.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"152b0403f661251cb6c8346c0931975ce9f793ca","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-0.3.0.tgz","fileCount":48,"integrity":"sha512-0kkOdZFH9RMpRZeVEnk7I84g8WPenLuvSwD1N9L4/0p43G0HjtPOEaDIAH6TbEeSRuOYfVFCCIfGVxCc4mf9Fw==","signatures":[{"sig":"MEUCIAr5BSxML5PfGSLZh+3vj34SKb36gY7uXhWvNRplRZq/AiEAuVtab+NKpHi1nJurXF1t/uRKmw+IGOXFg/f23ZFRh7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49166},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./dist/utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"150b01e64337f6c836f0fcad9d7027f2e7bf7d28","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","bench:w":"tsx benchmarks/index.ts","lint:fix":"eslint src/ --fix","benchmark":"tsx benchmarks/perf.bench.tsx","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.3","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.0","chalk":"^5.4.1","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","benchmark":"^2.1.4","react-dom":"^19.1.0","cli-table3":"^0.6.5","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","remark-math":"^6.0.0","@types/mdast":"^4.0.4","@types/react":"^19.1.4","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","react-markdown":"^10.1.0","fast-deep-equal":"^3.1.3","@types/benchmark":"^2.1.5","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","remark-frontmatter":"^5.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_0.3.0_1752264867155_0.4184379026702756","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@m2d/react-markdown","version":"1.0.0","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/react-markdown@1.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/react-markdown/#readme","bugs":{"url":"https://github.com/md2docx/react-markdown/issues"},"dist":{"shasum":"c897fec12c3164314f5f076db23f940cc84186e2","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-1.0.0.tgz","fileCount":55,"integrity":"sha512-CqbJTHi+SOLwF3JA4xVgMLSL2ZlSg1VIohaMwt/lHs1Wu+jzZ3eu6JZvDFtHSioSiEGYdlcrwbrpugutDSvL+Q==","signatures":[{"sig":"MEQCIFPX9121VZZc14Xi0N5XLT38xOWemeyDBm0gw+B7vjKzAiBvIarEnObqge9RGLlo60NgQfWPCwW5q9tQwueuY6wLRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2freact-markdown@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54172},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"},"./dist/utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.mjs","require":"./dist/utils.js"},"./test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/client":{"types":"./dist/client/index.d.ts","import":"./dist/client/index.mjs","require":"./dist/client/index.js"},"./dist/server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.mjs","require":"./dist/server/index.js"},"./dist/test-utils":{"types":"./dist/test-utils.d.ts","import":"./dist/test-utils.mjs","require":"./dist/test-utils.js"},"./dist/server/omit":{"types":"./dist/server/omit/index.d.ts","import":"./dist/server/omit/index.mjs","require":"./dist/server/omit/index.js"},"./dist/server/unwrap":{"types":"./dist/server/unwrap/index.d.ts","import":"./dist/server/unwrap/index.mjs","require":"./dist/server/unwrap/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"aa65fc61c4fa374a0f32d28373768d34530b3fff","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","bench:w":"tsx benchmarks/index.ts","lint:fix":"eslint src/ --fix","benchmark":"tsx benchmarks/perf.bench.tsx","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/react-markdown.git","type":"git"},"_npmVersion":"10.8.2","description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.3","dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.0","chalk":"^5.4.1","jsdom":"^26.1.0","react":"^19.1.0","vitest":"^3.1.4","benchmark":"^2.1.4","react-dom":"^19.1.0","cli-table3":"^0.6.5","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.19","remark-math":"^6.0.0","@types/mdast":"^4.0.4","@types/react":"^19.1.4","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","react-markdown":"^10.1.0","fast-deep-equal":"^3.1.3","@types/benchmark":"^2.1.5","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","remark-frontmatter":"^5.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","esbuild-plugin-react18":"0.2.6","@repo/typescript-config":"workspace:*","esbuild-plugin-react18-css":"^0.0.4"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_1.0.0_1752753149250_0.7477560711949172","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@m2d/react-markdown","version":"1.0.1","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"license":"MIT","_id":"@m2d/react-markdown@1.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/react-markdown/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"ef1e28b55e70712c6e7f8470a47f5c23aec9964d","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-1.0.1.tgz","fileCount":35,"integrity":"sha512-aOg0ntHI3tNeNRjbxZpqpKldALn/azWgk+zqv4HiYJYGOflNNcWV3wLmkPpKv4m7rNhQwJE/Fy4xnzaRMpZhfA==","signatures":[{"sig":"MEUCIQCGVAEB4ZKnm9t/5Itanibnlkq1quhsx+ZV1JPq9kuVUgIgBS4rNl9JrmJoVKkUyqz1ZXlRjYhnOmd43i29sb/i6N0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICroDv7ILrBeHRMhqtqo1pyoSwXOZE7uqlfZEZl5TTgcAiBgsaeu5cZCZaAEIncJ/XZbGdGAV3FD65CWas1UvYERJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39668},"main":"./dist/index.js","forge":{"icon":"Atom","aliases":["@m2d/jsx","@md2docx/jsx","@mdast2docx/jsx","@md2docx/react-markdown","mdx-render"],"description":"SSR-Friendly React Markdown"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}},"./dist/utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./dist/server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./package.json":"./package.json","./dist/test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/server/omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./dist/server/unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/react-markdown"},"description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","fast-deep-equal":"^3.1.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"latest","react":"^19.3.1","react-dom":"^19.3.1","typescript":"latest","@types/hast":"^3.0.5","@types/node":"^26.6.5","@types/mdast":"^4.0.4","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","@testing-library/react":"^16.3.3"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_1.0.1_1792489611284_0.6559643982611967","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@m2d/react-markdown","version":"1.0.2","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"license":"MIT","_id":"@m2d/react-markdown@1.0.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/react-markdown/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"1067556af694ddf812d12e0313a8238fcccb7fa5","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-1.0.2.tgz","fileCount":35,"integrity":"sha512-63pXtF4AgUXbvGvwpuCl1axfhdU3nGPZ/KNYOEzN1W3HBJ3laFbZlAa/xGiJOHofCP3Gk2aLGUY6q/v5rGhedQ==","signatures":[{"sig":"MEYCIQDIYeMv2v9/uXrR4pXfgXYo6WIDKldB2q/pEzBj9Lh5rQIhAJc4OYm3VLwIheUXdNUAO3O46tsDpbQI1gamCb6Wq3gZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC9HaZ8u4eSbcF2bw0+ClZm5NgAK8ynpsMSc95Dox12/AIhALw7I9lxSV5dcelhyI8uBggFWuazbFD4Qx4W1M/KSMDB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40745},"main":"./dist/index.js","forge":{"icon":"Atom","aliases":["@m2d/jsx","@md2docx/jsx","@mdast2docx/jsx","@md2docx/react-markdown","mdx-render"],"description":"SSR-Friendly React Markdown"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}},"./dist/utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./dist/server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./package.json":"./package.json","./dist/test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/server/omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./dist/server/unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/react-markdown"},"description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"sideEffects":false,"dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","fast-deep-equal":"^3.1.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"latest","react":"^19.3.1","react-dom":"^19.3.1","typescript":"latest","@types/hast":"^3.0.5","@types/node":"^26.6.5","@types/mdast":"^4.0.4","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","@testing-library/react":"^16.3.3"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/react-markdown_1.0.2_1792912510732_0.5465993834808349","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"_id":"@m2d/react-markdown@1.0.3","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"e7a101125f6186587e99b38dda22c71dc76df343","tarball":"https://registry.npmjs.org/@m2d/react-markdown/-/react-markdown-1.0.3.tgz","fileCount":35,"integrity":"sha512-5vnRlwjinBbWsUZvB92IsiFoCUSquImlFIyk1Cty808z6Gejs9mM/0lbyYPoGZAc6dxCRYGU40t0QrvY0YXSIw==","signatures":[{"sig":"MEQCIArF2CejJAs1j5jNq4p8K6Lqv6ZEm+lBMh2fZXUvSPe7AiBxbgpwLXJdDnRLPmQqkC8BVsiXgRqYCEzEXfFbckpWgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBrzrAA6tiTEyi4ag1kzteRmQIZiCSRF4dcgT8vgKz25AiAsOO3XyVYY7qKSCjYxBjn9jLt/kVadKO4FJpbANWqbsw=="}],"unpackedSize":42873},"main":"./dist/index.js","name":"@m2d/react-markdown","forge":{"icon":"Atom","aliases":["@m2d/jsx","@md2docx/jsx","@mdast2docx/jsx","@md2docx/react-markdown","mdx-render"],"description":"SSR-Friendly React Markdown"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}},"./dist/utils":{"import":{"types":"./dist/utils.d.mts","default":"./dist/utils.mjs"},"require":{"types":"./dist/utils.d.ts","default":"./dist/utils.js"}},"./test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/client":{"import":{"types":"./dist/client/index.d.mts","default":"./dist/client/index.mjs"},"require":{"types":"./dist/client/index.d.ts","default":"./dist/client/index.js"}},"./dist/server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"./package.json":"./package.json","./dist/test-utils":{"import":{"types":"./dist/test-utils.d.mts","default":"./dist/test-utils.mjs"},"require":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"}},"./dist/server/omit":{"import":{"types":"./dist/server/omit/index.d.mts","default":"./dist/server/omit/index.mjs"},"require":{"types":"./dist/server/omit/index.d.ts","default":"./dist/server/omit/index.js"}},"./dist/server/unwrap":{"import":{"types":"./dist/server/unwrap/index.d.mts","default":"./dist/server/unwrap/index.mjs"},"require":{"types":"./dist/server/unwrap/index.d.ts","default":"./dist/server/unwrap/index.js"}}},"license":"MIT","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"version":"1.0.3","_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/react-markdown/README.md","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/react-markdown"},"description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","directories":{},"maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"sideEffects":false,"dependencies":{"unified":"^11.0.5","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","fast-deep-equal":"^3.1.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"latest","react":"^19.3.1","react-dom":"^19.3.1","typescript":"latest","@types/hast":"^3.0.5","@types/node":"^26.6.5","@types/mdast":"^4.0.4","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","@testing-library/react":"^16.3.3"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-markdown_1.0.3_1792946218264_0.9439855018172041"}}},"time":{"created":"2025-06-21T15:28:41.568Z","modified":"2026-10-25T16:36:58.627Z","0.0.0":"2025-06-21T15:28:41.822Z","0.1.0":"2025-06-21T15:47:53.358Z","0.1.1":"2025-06-21T16:14:25.019Z","0.2.0":"2025-06-22T04:59:01.962Z","0.2.1":"2025-06-30T04:59:20.431Z","0.3.0":"2025-07-11T20:14:27.336Z","1.0.0":"2025-07-17T11:52:29.441Z","1.0.1":"2026-10-20T09:46:51.387Z","1.0.2":"2026-10-25T07:15:10.831Z","1.0.3":"2026-10-25T16:36:58.352Z"},"bugs":"https://github.com/md2docx/md2docx/issues","license":"MIT","homepage":"https://github.com/md2docx/md2docx/blob/main/packages/react-markdown/README.md","keywords":["react","react-markdown","mdx-renderer","markdown","jsx","ssr","mdast","mdast2docx","hast","remark","rehype","unified","docx","custom-components","lightweight","renderer","react 18","react 19","next.js","next.js 14","next.js 15","react server components","frontend development","web development","ui components","customizable","modern","progressive","cutting-edge","compatibility","seamless integration"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/react-markdown"},"description":"A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"readme":"# @m2d/react-markdown <img src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 40px\"/>\n\n<p className=\"flex gap-2\">\n  <a href=\"https://github.com/md2docx/md2docx/actions/workflows/ci.yml\" rel=\"noopener noreferrer\">\n    <img alt=\"CI\" src=\"https://github.com/md2docx/md2docx/actions/workflows/ci.yml/badge.svg\" />\n  </a>\n  <a href=\"https://codecov.io/gh/md2docx/md2docx/tree/main/packages/@m2d/react-markdown\" rel=\"noopener noreferrer\">\n    <img alt=\"codecov\" src=\"https://codecov.io/gh/md2docx/md2docx/graph/badge.svg?flag=@m2d/react-markdown\" />\n  </a> \n  <a href=\"https://npmjs.com/package/@m2d/react-markdown\" rel=\"noopener noreferrer\">\n    <img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@m2d/react-markdown\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/react-markdown\" rel=\"noopener noreferrer\">\n    <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/d18m/@m2d/react-markdown\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/react-markdown\" rel=\"noopener noreferrer\">\n    <img alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/@m2d/react-markdown\" />\n  </a>\n  <img alt=\"license\" src=\"https://img.shields.io/npm/l/@m2d/react-markdown\" />\n</p>\n\n> @m2d/react-markdown: A modern, SSR-compatible React Markdown renderer that preserves syntax trees for instant Word DOCX export.\n\n---\n\n## ✨ Features\n\n- ⚛️ **React Server Components (RSC) Ready**: Zero-hook server imports (`@m2d/react-markdown`) safe for Next.js App Router and server rendering.\n- 🔁 **Client-Side Reactivity & Memoization**: Dedicated `@m2d/react-markdown/client` entry for interactive editors with AST caching.\n- 🌳 **Direct AST Capture (`astRef`)**: Retains parsed MDAST/HAST representations so you can trigger instant Word (`.docx`) exports without re-parsing.\n- 🧱 **Arbitrary JSX Support (`<Mdx>`)**: Renders embedded Markdown strings nested within arbitrary React JSX structures.\n- 🎨 **Component Overrides & Helpers**: Seamless tag replacements and built-in utilities like `Unwrap` and `Omit`.\n\n---\n\n## 📦 Installation\n\n```bash\n$ pnpm add @m2d/react-markdown\n```\n\n**_or_**\n\n```bash\n$ npm install @m2d/react-markdown\n```\n\n**_or_**\n\n```bash\n$ yarn add @m2d/react-markdown\n```\n\n---\n\n## 🚀 Quick Start\n\n### Basic Server Component Rendering\n\n```tsx\nimport { Md } from \"@m2d/react-markdown\";\n\nexport default function Article() {\n  return (\n    <article className=\"prose\">\n      <Md>\n        {\"# Hello World\\n\\nRendered on the server with zero client hooks!\"}\n      </Md>\n    </article>\n  );\n}\n```\n\n### Interactive Client Export to DOCX\n\n```tsx\n\"use client\";\n\nimport { useRef } from \"react\";\nimport { Md } from \"@m2d/react-markdown/client\";\nimport { toDocx } from \"mdast2docx\";\n\nexport function DocumentationViewer({ markdown }: { markdown: string }) {\n  const astRef = useRef<{ mdast: any; hast: any }[]>([]);\n\n  const handleExport = async () => {\n    if (!astRef.current[0]?.mdast) return;\n    const blob = await toDocx(astRef.current[0].mdast);\n    const url = URL.createObjectURL(blob as Blob);\n    const a = document.createElement(\"a\");\n    a.href = url;\n    a.download = \"document.docx\";\n    a.click();\n    URL.revokeObjectURL(url);\n  };\n\n  return (\n    <div>\n      <button onClick={handleExport}>Export to Word</button>\n      <Md astRef={astRef}>{markdown}</Md>\n    </div>\n  );\n}\n```\n\n---\n\n## 📚 Deep Dive Guides\n\n- ⚛️ **[Server & Client Rendering Guide](./docs/server-and-client-rendering.mdx)**: React Server Components, client memoization, JSX parsing with `<Mdx>`, and component overrides.\n- 💾 **[AST Capture & DOCX Export Guide](./docs/ast-capture-and-docx-export.mdx)**: Preserving ASTs with `astRef` and coupling with `mdast2docx`.\n\n---\n\n## License\n\nThis library is licensed under the MIT open-source license.\n\n<hr />\n\n<p align=\"center\">with 💖 by <a href=\"https://mayankchaudhari.com\" target=\"_blank\">Mayank Kumar Chaudhari</a></p>\n","readmeFilename":""}