UNPKG

@mdast2docx/image

Version:

MDAST to DOCX plugin for resolving and embedding images. Supports base64, URLs, and custom resolvers for seamless DOCX image integration.

113 lines (112 loc) 2.73 kB
{ "name": "@mdast2docx/image", "author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)", "private": false, "version": "0.2.2", "description": "MDAST to DOCX plugin for resolving and embedding images. Supports base64, URLs, and custom resolvers for seamless DOCX image integration.", "license": "MPL-2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "repository": "github:md2docx/image", "bugs": "https://github.com/md2docx/image/issues", "homepage": "https://github.com/md2docx/image/#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": { "@m2d/html": "^1.0.0", "@m2d/mermaid": "^0.0.2", "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "@types/jsdom": "^21.1.7", "@types/node": "^22.14.1", "@vitest/coverage-v8": "^3.1.1", "docx": "^9.3.0", "esbuild-plugin-rdi": "^0.0.0", "jsdom": "^26.0.0", "remark-gfm": "^4.0.1", "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" }, "peerDependencies": { "docx": "^9.3.0" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/md2docx" }, { "type": "github", "url": "https://github.com/sponsors/mayank1513" } ], "keywords": [ "images", "image-plugin", "image-resolver", "image-embedding", "base64", "remote-image", "docx-image", "mdast", "markdown", "markdown-to-docx", "mdast-to-docx", "md2docx", "mdast2docx", "plugin", "converter", "remark", "unified", "docx", "ms-word", "document-generator", "document-generation", "text-processing", "typescript", "open-source", "customizable", "modern", "seamless-integration", "cutting-edge", "compatibility", "progressive", "web-development", "frontend", "automation", "export", "google-sheets", "generative-ai", "rich-text", "hyperlinks", "footnotes", "m2d", "mayank1513" ] }