UNPKG

mail-to-pdf

Version:

Save emails in pdf, including attachments - Convenient for mbox (possibly recursive), and thunderbird.

55 lines (51 loc) 1.25 kB
{ "name": "mail-to-pdf", "version": "1.1.0", "description": "Save emails in pdf, including attachments - Convenient for mbox (possibly recursive), and thunderbird.", "main": "index.js", "scripts": { "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": { "mailparser": "^3.7.2", "mbox-reader": "^1.2.0", "p-limit": "^6.2.0", "pdf-lib": "^1.17.1", "puppeteer": "^24.7.0", "yargs": "^17.7.2" }, "devDependencies": { "@types/mailparser": "^3.4.5", "@types/node": "^22.14.1", "@types/yargs": "^17.0.33", "typescript": "^5.8.3" } }