UNPKG

@mdpdf/mdpdf

Version:

Convert Markdown to PDF using a self-contained Rust binary

74 lines 1.98 kB
{ "name": "@mdpdf/mdpdf", "version": "0.1.4", "description": "Convert Markdown to PDF using a self-contained Rust binary", "repository": { "type": "git", "url": "git+ssh://git@github.com/westrik/mdpdf.git" }, "author": "Matt Westrik", "license": "MIT", "keywords": [ "markdown", "pdf", "typst", "rust", "napi-rs" ], "engines": { "node": ">= 18.17.0 < 19 || >= 20.3.0 < 21 || >= 21.0.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "files": [ "index.d.ts", "index.js" ], "main": "index.js", "types": "index.d.ts", "exports": { ".": { "import": "./index.js", "require": "./index.js", "default": "./index.js" } }, "napi": { "binaryName": "mdpdf", "targets": [ "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc" ] }, "scripts": { "build": "yarn napi build --platform --release --features node", "build:debug": "yarn napi build --platform", "prepublishOnly": "yarn napi prepublish -t npm", "artifacts": "yarn napi artifacts", "test": "node tests/test.mjs", "lint": "prettier --check .", "lint:fix": "prettier -w .", "typecheck": "tsc" }, "devDependencies": { "@napi-rs/cli": "3.0.3", "@types/node": "^24.1.0", "prettier": "^3.6.2", "typescript": "^5.8.3" }, "packageManager": "yarn@4.9.2+sha512.1fc009bc09d13cfd0e19efa44cbfc2b9cf6ca61482725eb35bbc5e257e093ebf4130db6dfe15d604ff4b79efd8e1e8e99b25fa7d0a6197c9f9826358d4d65c3c", "optionalDependencies": { "@mdpdf/mdpdf-darwin-arm64": "0.1.4", "@mdpdf/mdpdf-darwin-x64": "0.1.4", "@mdpdf/mdpdf-linux-arm64-gnu": "0.1.4", "@mdpdf/mdpdf-linux-x64-gnu": "0.1.4", "@mdpdf/mdpdf-linux-x64-musl": "0.1.4", "@mdpdf/mdpdf-win32-x64-msvc": "0.1.4" } }