UNPKG

pdfkit

Version:

A PDF generation library for Node.js

84 lines 2.42 kB
{ "name": "pdfkit", "description": "A PDF generation library for Node.js", "keywords": [ "pdf", "pdf writer", "pdf generator", "graphics", "document", "vector" ], "version": "0.19.1", "homepage": "http://pdfkit.org/", "author": { "name": "Devon Govett", "email": "devongovett@gmail.com", "url": "http://badassjs.com/" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/foliojs/pdfkit.git" }, "bugs": "https://github.com/foliojs/pdfkit/issues", "devDependencies": { "@babel/core": "^7.29.7", "@babel/plugin-external-helpers": "^7.29.7", "@babel/preset-env": "^7.29.7", "@eslint/js": "^10.0.1", "@rollup/plugin-babel": "^7.1.0", "blob-stream": "^0.1.3", "brace": "^0.11.1", "brfs": "~2.0.2", "browserify": "^17.0.1", "canvas": "^3.2.3", "codemirror": "~5.65.21", "eslint": "^10.4.1", "gh-pages": "^6.3.0", "globals": "^17.6.0", "jest-diff": "^30.4.1", "jest-image-snapshot": "^6.5.2", "markdown": "~0.5.0", "pdfjs-dist": "^5.7.284", "prettier": "3.4.2", "pug": "^3.0.4", "rollup": "^4.61.1", "rollup-plugin-copy": "^3.5.0", "vitest": "^4.1.8" }, "dependencies": { "@noble/ciphers": "^1.0.0", "@noble/hashes": "^1.6.0", "fontkit": "^2.0.4", "js-md5": "^0.8.3", "linebreak": "^1.1.0", "png-js": "^1.1.0" }, "scripts": { "prepublishOnly": "npm run build", "build": "rollup -c && npm run build-standalone", "build-standalone": "browserify --standalone PDFDocument --ignore crypto js/pdfkit.js > js/pdfkit.standalone.js", "browserify-example": "browserify examples/browserify/browser.js > examples/browserify/bundle.js", "pdf-guide": "node docs/generate.js", "website": "node docs/generate_website.js", "publish-website": "node docs/publish_website.js", "docs": "npm run pdf-guide && npm run website && npm run browserify-example", "lint": "eslint {lib,tests}/**/*.js", "prettier": "prettier --check lib tests docs", "test": "vitest --testTimeout 8000 run", "test:visual": "vitest --testTimeout 8000 run tests/visual", "test:unit": "vitest run tests/unit" }, "main": "js/pdfkit.js", "module": "js/pdfkit.es.js", "browserify": { "transform": [ "brfs" ] }, "engine": [ "node >= v20.0.0" ], "packageManager": "yarn@4.16.0" }