{"_id":"@m2d/table","_rev":"10-12726ce1ae38a7d20320c2408b8d38ad","name":"@m2d/table","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0":{"name":"@m2d/table","version":"0.0.0","keywords":["automation","converter","docx","document generator","export","markdown","markdown-to-docx","mdast","mdast2docx","mdast tables","ms-word","open-source","remark","rich text","seamless integration","table plugin","tables","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/table","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"4adfa8bad01ee7921d3da5ec49504674c4c3ff81","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.0.tgz","fileCount":5,"integrity":"sha512-ZvicBmCrHe6WyCz5iBVHfAm+HHvuXqadfr7dMdpKobJhssleHmVX4eXMoqos5BGG7l1NMdcFvkaPzmmMh6kL8Q==","signatures":[{"sig":"MEQCIHuWp5+CQDyensA+wlVPE0Bm9SF1Y6N/YL7id9ExZ5rxAiBfUSKdbDZ16gaTPsOyBhu4d+bkVU1Ifw/Uxv+8MBKQjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10479},"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"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"589082076cc78818defcacde47f8db518faa717f","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.9","@m2d/core":"workspace:*","typescript":"^5.8.2","@types/node":"^22.13.11","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.0_1742734528236_0.8916255152181092","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@m2d/table","version":"0.0.1","keywords":["automation","converter","docx","document generator","export","markdown","markdown-to-docx","mdast","mdast2docx","mdast tables","ms-word","open-source","remark","rich text","seamless integration","table plugin","tables","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/table","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"631693332e9cc8e4f725fccec9b4df94efc2ca86","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.1.tgz","fileCount":2,"integrity":"sha512-EVTqekrk5Xooq9rJw3Uy5r60Nfe9AO2tjEodSfa4XF7TelWMGrJQFQdd55xBG1vJRWu9IOkGlqBC6ukQ0MBMaQ==","signatures":[{"sig":"MEUCICua8X1wEyrf8/+YCmiPIHnKPwLbWid1+Oo8RLXdN/eKAiEA98NgJPhvwm0mk2gvZUiHyLhifLGCLp11yANpf6juWwA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5947},"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"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"5f2a278575851f8e08ab6a870dec363247625aa5","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.9","@m2d/core":"latest","typescript":"^5.8.2","@types/node":"^22.13.12","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.1_1742816843439_0.03953698100973302","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@m2d/table","version":"0.0.2","keywords":["automation","converter","docx","document generator","export","markdown","markdown-to-docx","mdast","mdast2docx","mdast tables","ms-word","open-source","remark","rich text","seamless integration","table plugin","tables","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/table","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"daacfe9d66cbcf10f4d3bb40495946971ca64b61","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.2.tgz","fileCount":5,"integrity":"sha512-gKLnmmWuTa+vUqK60fsgnnJLgqVsz4U8oQ9CQZzRw4Z6dcrpY8QvG0/Z8Ybn6fPg12Lh0cjYiaLobygCjOmHsA==","signatures":[{"sig":"MEUCIQC3/ls8rZ17+zbdzEQk7X4r8utoQEJVT8UcHPIkrho4UwIgQTscnmqWqPPx/uj/gHCmrKXIcck2ilS86RCmvoSYXwQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10545},"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"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"6bf115ecf15c9279ab334c06df639a3ad9aa474f","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","vitest":"^3.0.9","@m2d/core":"workspace:*","typescript":"^5.8.2","@types/node":"^22.13.13","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.2_1742822140596_0.2996917969513426","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@m2d/table","version":"0.0.3","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.3","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"14ecdd7616c3b5b5c4ff417c888df0420919a74e","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.3.tgz","fileCount":5,"integrity":"sha512-SFQuk6/G6O3RVmf3MBK+NKibh+Zt61Kka6Yk/PoCXJhzv50HKxr5396xnQc5DE1dR9It2ZBrzPbON5YSJJlOgg==","signatures":[{"sig":"MEYCIQC9j53YmmxJzL20xQ2q+uC4ONmH76+gAZ2fh6N+Q4Eq+AIhAOV+C6QukFWphpeMgsbHX+SZ7e6GoMZiQKbsxSisLCBn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11253},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"50206cf95fa141b19a09047812a499a1e7d7fc5d","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"@m2d/core":"^0.0.3"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.0.9","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.2","@types/node":"^22.13.12","@types/react":"^19.0.12","remark-parse":"^11.0.0","@types/react-dom":"^19.0.4","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.0.9","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.2.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.3_1742960806443_0.2015849350966894","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@m2d/table","version":"0.0.4","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.4","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"2faae0bb28587bf3209a354f8632f2e13eb5786a","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.4.tgz","fileCount":5,"integrity":"sha512-oz1cxsEu/vNr5SgXPNn8nx3NWomvHnoM6nqrKLR2w08GOwSxHgqVYCQLTlLeYnPAa6OUsUgKviDw+7OLcvAX8g==","signatures":[{"sig":"MEYCIQD0vBSz1gkMpuDmP8pJXV2wQ/RDOp/j+oRTrzVioAYnaQIhALzD+DIKiEbJQV3Kf57jV3VOIxKcuadYT1dXfo/2WBDd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11251},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"ef4da0cb53ed7978835e3cb18a7cfcadcf936531","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"@m2d/core":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.14.0","@types/react":"^19.1.0","remark-parse":"^11.0.0","@types/react-dom":"^19.1.1","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.4_1744127863888_0.44339273666599577","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@m2d/table","version":"0.0.5","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.5","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"1ae2c31ea7abda60ec251f41e4ae6f5610126716","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.5.tgz","fileCount":5,"integrity":"sha512-exKjrHsibhJmjDASjnBMYETBfudo4Swnty6ZQdw9XbduS0W/eqpr6vk/BgErhMDy6O1qKM2FHpAA4wCvx6s4lQ==","signatures":[{"sig":"MEUCIQC8vuZ3evh3P+JoHsT0+TqqFNz6ej+swX4QVDZphBi2gAIgPTCG5AOvblgPrywPfn+8Q+vlpDxZIRFDgDQJWj84kSk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11159},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"ae2dd69a83a87c31a6c8d5fa23b77cfe3ec8b188","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"@m2d/core":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.15.19","@types/react":"^19.1.4","remark-parse":"^11.0.0","@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","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.5_1747711437385_0.11294086657440028","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@m2d/table","version":"0.0.6","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.6","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"e504166754d16b16cf6839d54a246e3081404ccd","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.6.tgz","fileCount":5,"integrity":"sha512-9Z28Poa9naXsiTquWz2m6jAkYWPf346t3s8vu/RcBxiFIdDSA7AaKlpE65/gKJBblMPoZ55HMZW4JGHWrfU+sw==","signatures":[{"sig":"MEQCIC4B/Psx9Oy4lvpi1B3v0xGeU6+cbR6dbt4P4O7kuKORAiAGVF0i//BAo+LbEq9/XaRNglQ9zlXe5A84QMgIK7sqAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11159},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"e25dadd333bb4aba64d7e869323c5996bd49dcaa","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"@m2d/core":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.15.24","@types/react":"^19.1.6","remark-parse":"^11.0.0","@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.5.0","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.6_1748486437805_0.29086721198466825","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@m2d/table","version":"0.0.7","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.0.7","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"da95083dea14f1829c41938a7a0aedcedde4f3df","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.0.7.tgz","fileCount":5,"integrity":"sha512-STiYGqh3jRmf6G/hMe/vocXBIib1G6aSjpxW6Ug9LvRpBM+Tzm2BxjLD6/L5xmPavIKgayF2oE/yv0vgPnLxPg==","signatures":[{"sig":"MEYCIQDSs1B1Y1Qx2QPZaFHJxnrdW5skiT7mK1rACe2KIeaG2AIhAPBsrATDQJwPIaM3eZZG+CQXK1LXBLvfNjltFZHtOyJO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12077},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"4fbda5c8d413fb749f010ec6b5ee6a113b904e0f","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/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"@m2d/core":"^1.4.3"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.1","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.4","unified":"^11.0.5","@m2d/html":"^1.1.7","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^24.0.3","@types/react":"^19.1.8","remark-parse":"^11.0.0","@types/react-dom":"^19.1.6","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.6.0","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.0.7_1750769900069_0.4716648884140726","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@m2d/table","version":"0.1.0","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/table@0.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/table/#readme","bugs":{"url":"https://github.com/md2docx/table/issues"},"dist":{"shasum":"86b50565b1db2a0e0e29bc06b4031d43fb1e7334","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.1.0.tgz","fileCount":5,"integrity":"sha512-MMafmKjQ4FnSaY+W2ZH4THnRquGuGQzbPLQcyWT/uzIOXa3Nc8Z3K/AzP2uBsM8JwFPqWmmkpP+gfELnwKccHg==","signatures":[{"sig":"MEYCIQDBs3BlicgsJ3NbRRrJ0dx/UkQGVGehQqt+sUq9mQFPBgIhAIUTcVoaoCe03eiBum3m6RO9CQn4qSeevFN7vrP8LHJt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14353},"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"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"719b900a5a6149b3d38131892d0a364cd929a615","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","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/table.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"@m2d/core":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.1","tsup":"^8.5.0","jsdom":"^27.0.0","vitest":"^3.2.4","unified":"^11.0.5","@m2d/html":"^1.1.10","remark-gfm":"^4.0.1","typescript":"^5.9.2","@types/node":"^24.3.3","@types/react":"^19.1.13","remark-parse":"^11.0.0","@types/react-dom":"^19.1.9","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^5.0.2","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/table_0.1.0_1757821275021_0.7444899998860515","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@m2d/table","author":{"name":"Mayank Kumar Chaudhari","url":"https://mayank-chaudhari.vercel.app"},"private":false,"version":"0.1.1","description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","license":"MPL-2.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/md2docx/table.git"},"bugs":{"url":"https://github.com/md2docx/table/issues"},"homepage":"https://github.com/md2docx/table/#readme","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","dev":"tsup --watch && tsc -p tsconfig-build.json -w","typecheck":"tsc --noEmit","lint":"eslint src/","lint:fix":"eslint src/ --fix","test":"vitest run --coverage"},"devDependencies":{"@m2d/html":"^1.1.10","@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*","@testing-library/react":"^16.3.0","@types/node":"^24.5.2","@types/react":"^19.1.13","@types/react-dom":"^19.1.9","@vitejs/plugin-react":"^5.0.3","@vitest/coverage-v8":"^3.2.4","docx":"^9.5.1","esbuild-plugin-rdi":"^0.0.0","jsdom":"^27.0.0","remark-gfm":"^4.0.1","remark-parse":"^11.0.0","tsup":"^8.5.0","typescript":"^5.9.2","unified":"^11.0.5","vite-tsconfig-paths":"^5.1.4","vitest":"^3.2.4"},"dependencies":{"@m2d/core":"^1.7.0"},"peerDependencies":{"docx":"^9.3.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/md2docx"},{"type":"github","url":"https://github.com/sponsors/mayank1513"}],"keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"_id":"@m2d/table@0.1.1","gitHead":"72cc45077e8b1f967e7d6d149fa80ef2928931e9","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-VcrZIt1lRo1TetMOCMSGoin0IVrBMBkX1SF0NSUbPM6smUfLm5nsO7oFnXfre7VZMnD2rM+tkzm+lHCZdON6Jw==","shasum":"41c469f0e06245ebedce565ce19a8ed7d056017e","tarball":"https://registry.npmjs.org/@m2d/table/-/table-0.1.1.tgz","fileCount":5,"unpackedSize":14397,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2ftable@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDWGLCDmy7FIj1aZuYvSXIBAYORdsGTmr2AtIoiR3azBwIhANVJ2Qhg789q3SPJJDz1ZpofR89CpOaenloSYKcfNx6Y"}]},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"directories":{},"maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/table_0.1.1_1758537033194_0.9252187258880227"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-23T12:55:28.150Z","modified":"2025-09-22T10:30:33.807Z","0.0.0":"2025-03-23T12:55:28.448Z","0.0.1":"2025-03-24T11:47:23.586Z","0.0.2":"2025-03-24T13:15:40.773Z","0.0.3":"2025-03-26T03:46:46.676Z","0.0.4":"2025-04-08T15:57:44.161Z","0.0.5":"2025-05-20T03:23:57.607Z","0.0.6":"2025-05-29T02:40:38.018Z","0.0.7":"2025-06-24T12:58:20.256Z","0.1.0":"2025-09-14T03:41:15.239Z","0.1.1":"2025-09-22T10:30:33.376Z"},"bugs":{"url":"https://github.com/md2docx/table/issues"},"author":{"name":"Mayank Kumar Chaudhari","url":"https://mayank-chaudhari.vercel.app"},"license":"MPL-2.0","homepage":"https://github.com/md2docx/table/#readme","keywords":["table-plugin","tables","mdast-tables","markdown-tables","docx-tables","markdown-to-docx","mdast-to-docx","mdast","markdown","plugin","converter","docx","ms-word","export","document-generator","document-generation","text-processing","remark","unified","typescript","open-source","customizable","seamless-integration","modern","web-development","automation","google-sheets","rich-text","compatibility","progressive","cutting-edge","frontend","generative-ai","md2docx","mdast2docx","m2d","mayank1513"],"repository":{"type":"git","url":"git+https://github.com/md2docx/table.git"},"description":"Plugin to convert Markdown tables (MDAST) to DOCX with support for rich formatting and seamless integration into mdast2docx.","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"readme":"# `@m2d/table` <img src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" height=\"40\"/>\n\n[![test](https://github.com/md2docx/table/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/table/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/md2docx/table/graph/badge.svg)](https://codecov.io/gh/md2docx/table) [![Version](https://img.shields.io/npm/v/@m2d/table?color=green)](https://www.npmjs.com/package/@m2d/table) ![Downloads](https://img.shields.io/npm/d18m/@m2d/table) ![Bundle Size](https://img.shields.io/bundlephobia/minzip/@m2d/table)\n\n> A plugin that converts Markdown tables into rich, styled Word tables with full alignment, border, and header support.\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @m2d/table\n```\n\n```bash\npnpm add @m2d/table\n```\n\n```bash\nyarn add @m2d/table\n```\n\n---\n\n## 🚀 Overview\n\nThe `@m2d/table` plugin for [`mdast2docx`](https://github.com/mayankchaudhari/mdast2docx) renders Markdown tables into Word-compatible tables with customizable layout, alignment, and cell styling using the `docx` library.\n\n> Automatically handles header rows, borders, shading, cell alignments, and padding — all configurable.\n\n---\n\n## ✨ Features\n\n- Transforms Markdown tables into `docx.Table` elements\n- Auto-detects column alignment from MDAST (`left`, `center`, `right`)\n- Customizable:\n  - Table width and border styles\n  - Cell padding and shading\n  - Header row formatting\n  - Horizontal and vertical alignment\n- Graceful fallback to defaults if MDAST alignment is missing\n\n---\n\n## 🛠️ Usage\n\n```ts\nimport { toDocx } from \"@m2d/core\";\nimport { tablePlugin } from \"@m2d/table\";\n\nconst plugins = [tablePlugin()];\n\nconst buffer = await toDocx(mdastTree, {\n  plugins,\n});\n```\n\n---\n\n## ⚙️ Options\n\nThe `tablePlugin` accepts an optional configuration object:\n\n```ts\ntablePlugin({\n  tableProps: { ... },\n  rowProps: { ... },\n  cellProps: {\n    ... // CellProps\n    data: { bold: true, color: \"#000000\" } // Paragraph and Run styling options\n  },\n  firstRowProps: { ... },\n  firstRowCellProps: {\n    data: { bold: true, alignment: AlignmentType.CENTER } // Header cell styling\n  },\n  alignments: {\n    defaultHorizontalAlign: AlignmentType.CENTER,\n    defaultVerticalAlign: VerticalAlign.CENTER,\n    preferMdData: true,\n  },\n});\n```\n\nAll options override the following sensible defaults:\n\n### Default Table Style\n\n| Property             | Default Value                          |\n| -------------------- | -------------------------------------- |\n| Table Width          | `100%` (percentage)                    |\n| Border Style         | `SINGLE`, size `1`                     |\n| Cell Padding         | 2–4mm margins (top/bottom/left/right)  |\n| Header Row           | Bold with shaded background `#b79c2f`  |\n| Cell Styling         | Full docx.js paragraph & run options   |\n| Vertical Alignment   | `CENTER`                               |\n| Horizontal Alignment | Based on Markdown or `CENTER` fallback |\n\n### Advanced Cell Styling with `data` Property\n\nThe `data` property provides comprehensive styling control using **docx.js** paragraph and text run options:\n\n#### Text Run Styling (`IRunOptions`)\n\n- `bold`, `italics`, `underline`, `strike`, `doubleStrike`\n- `color`, `size` (font size in half-points)\n- `font` (font family), `highlight`, `shading`\n- `superScript`, `subScript`, `smallCaps`, `allCaps`\n\n#### Paragraph Styling (`IParagraphOptions`)\n\n- `alignment` - text alignment (LEFT, CENTER, RIGHT, JUSTIFIED)\n- `spacing` - line spacing and paragraph spacing\n- `indent` - left, right, first line, hanging indents\n- `numbering`, `bullet`, `style`\n\n#### Code Block Support\n\n- `pre: true` - preserves spaces, newline for code blocks\n\n```ts\ntablePlugin({\n  cellProps: {\n    data: {\n      font: \"Arial\",\n      size: 20, // 10pt font\n      color: \"#333333\",\n      spacing: { after: 120 }, // 6pt spacing after\n    },\n  },\n  firstRowCellProps: {\n    data: {\n      bold: true,\n      alignment: AlignmentType.CENTER,\n      color: \"#ffffff\",\n      size: 24, // 12pt font\n      font: \"Calibri\",\n    },\n  },\n});\n```\n\n---\n\n## 🧪 Example\n\n### Markdown Input\n\n```md\n| Name  | Age |      City |\n| :---: | :-: | --------: |\n| Alice | 24  |  New York |\n|  Bob  | 30  | San Diego |\n```\n\n### Output DOCX\n\n- The first row is treated as a **header**, with custom shading.\n- Column alignment is preserved: center, center, right.\n\n---\n\n## 🔍 Internals\n\n- Leverages `docx.Table`, `docx.TableRow`, `docx.TableCell`, and `docx.Paragraph`\n- Dynamically maps Markdown alignment via `MDAST.align[]`\n- Uses `@m2d/core`’s block plugin API\n- Prevents re-processing of transformed nodes by setting `node.type = \"\"`\n\n---\n\n## ⚠️ Limitations\n\n- Does not support row/column spans\n- MDAST source must conform to [GFM tables](https://github.github.com/gfm/#tables-extension-)\n- Table styling is fixed to plugin options; no per-cell customization via Markdown yet\n\n---\n\n## ⭐ Support Us\n\nIf you find this useful:\n\n- ⭐ Star [mdast2docx](https://github.com/tiny-md/mdast2docx) on GitHub\n- ❤️ Consider [sponsoring](https://github.com/sponsors/mayank1513)\n\n---\n\n## 🧾 License\n\nMIT © [Mayank Chaudhari](https://github.com/mayankchaudhari)\n\n---\n\n<p align=\"center\">Made with 💖 by <a href=\"https://mayank-chaudhari.vercel.app\" target=\"_blank\">Mayank Kumar Chaudhari</a></p>\n","readmeFilename":"README.md"}