UNPKG

@mdast2docx/list

Version:

Plugin to convert ordered and unordered lists from Markdown (MDAST) to DOCX. Supports nesting, custom bullets, and numbering styles.

94 lines (93 loc) 2.42 kB
{ "name": "@mdast2docx/list", "author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)", "private": false, "version": "0.0.8", "description": "Plugin to convert ordered and unordered lists from Markdown (MDAST) to DOCX. Supports nesting, custom bullets, and numbering styles.", "license": "MPL-2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "repository": "github:md2docx/list", "bugs": "https://github.com/md2docx/list/issues", "homepage": "https://github.com/md2docx/list/#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.15.30", "@types/react": "^19.1.6", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.5.1", "@vitest/coverage-v8": "^3.2.2", "docx": "^9.5.0", "esbuild-plugin-rdi": "^0.0.0", "jsdom": "27.0.0-beta.0", "remark-gfm": "^4.0.1", "remark-parse": "^11.0.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "unified": "^11.0.5", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.2" }, "dependencies": { "@m2d/core": "^1.3.3" }, "peerDependencies": { "docx": "^9.3.0" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/md2docx" }, { "type": "github", "url": "https://github.com/sponsors/mayank1513" } ], "keywords": [ "mdast", "markdown", "docx", "markdown-to-docx", "mdast-to-docx", "ordered-list", "unordered-list", "nested-lists", "bullet-points", "numbered-lists", "document-generation", "text-processing", "open-source", "typescript", "converter", "automation", "unified", "remark", "web-development", "export", "rich-text" ] }