mail-to-pdf
Version:
Save emails in pdf, including attachments - Convenient for mbox (possibly recursive), and thunderbird.
55 lines (54 loc) • 1.38 kB
JSON
{
"name": "mail-to-pdf",
"version": "1.4.1",
"description": "Save emails in pdf, including attachments - Convenient for mbox (possibly recursive), and thunderbird.",
"main": "index.js",
"scripts": {
"prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version)\" > src/version.mts",
"build": "tsc --build tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"mail-to-pdf": "dist/mail-to-pdf.mjs"
},
"exports": {
".": {
"types": [
"./dist/mail-to-pdf.d.mts"
],
"default": "./dist/mail-to-pdf.mjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pascal-brand38/mail-to-pdf.git"
},
"keywords": [
"mbox"
],
"author": "Pascal Brand",
"license": "MIT",
"bugs": {
"url": "https://github.com/pascal-brand38/mail-to-pdf/issues"
},
"homepage": "https://github.com/pascal-brand38/mail-to-pdf#readme",
"dependencies": {
"colors": "^1.4.0",
"commander": "^14.0.3",
"mailparser": "^3.9.6",
"mbox-reader": "^1.2.0",
"p-limit": "^7.3.0",
"pdf-lib": "^1.17.1",
"puppeteer": "^24.40.0"
},
"devDependencies": {
"@types/mailparser": "^3.4.6",
"@types/node": "^25.3.1",
"typescript": "^5.9.3"
}
}