UNPKG

@m2d/math

Version:

Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.

97 lines (96 loc) 2.5 kB
{ "name": "@m2d/math", "author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)", "private": false, "version": "0.0.4", "description": "Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.", "license": "MPL-2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "repository": "github:md2docx/math", "bugs": "https://github.com/md2docx/math/issues", "homepage": "https://github.com/md2docx/math/#readme", "sideEffects": false, "files": [ "dist/**" ], "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": { "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "@testing-library/react": "^16.3.0", "@types/node": "^22.14.0", "@types/react": "^19.1.0", "@types/react-dom": "^19.1.1", "@unified-latex/unified-latex-types": "^1.8.0", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^3.1.1", "docx": "^9.3.0", "esbuild-plugin-rdi": "^0.0.0", "jsdom": "^26.0.0", "remark-parse": "^11.0.0", "tsup": "^8.4.0", "typescript": "^5.8.3", "unified": "^11.0.5", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.1.1" }, "dependencies": { "@m2d/core": "^0.0.4", "latex-math": "^0.0.2" }, "peerDependencies": { "docx": "^9.3.0", "remark-math": "^6.0.0" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/md2docx" }, { "type": "github", "url": "https://github.com/sponsors/mayank1513" } ], "keywords": [ "math", "latex", "math expressions", "math plugin", "markdown-to-docx", "mdast2docx", "markdown", "mdast", "docx", "ms-word", "text-processing", "export", "document generator", "typescript", "remark", "unified", "open-source", "seamless integration", "automation", "web-development", "rich text", "mayank1513" ] }