pdfjs-serverless
Version:
PDF.js redistributed as a single bundle for edge and serverless runtimes
64 lines (63 loc) • 1.58 kB
JSON
{
"name": "pdfjs-serverless",
"type": "module",
"version": "1.3.0",
"packageManager": "pnpm@11.17.0",
"description": "PDF.js redistributed as a single bundle for edge and serverless runtimes",
"author": "Johann Schopplich <hello@johannschopplich.com>",
"license": "MIT",
"homepage": "https://github.com/johannschopplich/pdfjs-serverless#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/johannschopplich/pdfjs-serverless.git"
},
"bugs": {
"url": "https://github.com/johannschopplich/pdfjs-serverless/issues"
},
"keywords": [
"cloudflare",
"edge",
"nodeless",
"parse",
"pdf",
"pdf.js",
"pdfjs-dist",
"serverless",
"text-extraction",
"workers"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"engines": {
"node": ">=22"
},
"scripts": {
"build:pre": "rolldown --config rolldown.config.ts",
"build:post": "cp -R node_modules/pdfjs-dist/types dist",
"build": "pnpm run build:pre && pnpm run build:post",
"test": "vitest",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "bumpp"
},
"devDependencies": {
"@antfu/eslint-config": "^9.2.0",
"@cloudflare/vitest-pool-workers": "^0.18.8",
"@types/node": "^26.1.1",
"bumpp": "^12.0.0",
"eslint": "^10.7.0",
"pdfjs-dist": "~6.1.200",
"rolldown": "^1.2.0",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}