@mofanx/md2pdf
Version:
高兼容性 Markdown 转 PDF 工具,支持本地图片、批量转换、字体优化,命令行一键使用。
45 lines (44 loc) • 1.18 kB
JSON
{
"name": "@mofanx/md2pdf",
"version": "1.0.4",
"description": "高兼容性 Markdown 转 PDF 工具,支持本地图片、批量转换、字体优化,命令行一键使用。",
"main": "dist/index.js",
"bin": {
"md2pdf": "dist/bin/md2pdf.js"
},
"scripts": {
"build": "tsc",
"postbuild": "node fix-shebang.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": ["markdown", "pdf", "md2pdf", "cli", "puppeteer", "batch", "图片", "代码块", "字体", "converter"],
"author": "mofanx <mofanx@qq.com>",
"license": "MIT",
"packageManager": "pnpm@10.8.1",
"repository": {
"type": "git",
"url": "https://github.com/mofanx/md2pdf.git"
},
"bugs": {
"url": "https://github.com/mofanx/md2pdf/issues"
},
"homepage": "https://github.com/mofanx/md2pdf#readme",
"files": [
"bin/",
"src/",
"dist/",
"README.md",
"LICENSE"
],
"dependencies": {
"@types/node": "^22.14.1",
"commander": "^13.1.0",
"markdown-it": "^14.1.0",
"puppeteer": "^24.6.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2"
}
}