afpp
Version:
Async Fast PDF Parser for Node.js — dependency-light, TypeScript-first, production-ready.
95 lines (94 loc) • 2.66 kB
JSON
{
"name": "afpp",
"version": "3.2.0",
"description": "Async Fast PDF Parser for Node.js — dependency-light, TypeScript-first, production-ready.",
"keywords": [
"parse-pdf",
"parser-pdf",
"pdf",
"pdf-parser",
"pdf-to-text",
"pdf.js",
"pdf2json",
"pdf2text",
"pdfreader"
],
"homepage": "https://github.com/l2ysho/afpp#readme",
"bugs": {
"url": "https://github.com/l2ysho/afpp/issues"
},
"license": "MIT",
"author": "l2ysho",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/l2ysho/afpp.git"
},
"files": [
"dist/**",
"README.md",
"LICENSE"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"imports": {
"#afpp/src/*": "./src/*"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"lint": "oxlint . --type-aware",
"lint:fix": "oxlint . --fix --type-aware",
"postbuild": "tsc-alias -p tsconfig.build.json",
"prebuild": "rm -rf dist",
"prepare": "husky",
"pretest:coverage": "rm -rf coverage",
"test": "NODE_ENV=test npx tsx --test --test-reporter @voxpelli/node-test-pretty-reporter test/*.test.ts",
"test:coverage": "c8 --reporter=lcov pnpm test",
"test:single": "NODE_ENV=test npx tsx --test --test-reporter @voxpelli/node-test-pretty-reporter",
"benchmark:cleanup": "npx tsx benchmark/cleanup.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"typecheck:ts7": "tsgo -p tsconfig.json --noEmit"
},
"dependencies": {
"pdfjs-dist": "6.0.227"
},
"devDependencies": {
"@commitlint/cli": "21.0.2",
"@commitlint/config-conventional": "21.0.2",
"@types/node": "25.9.3",
"@typescript/native-preview": "7.0.0-dev.20260612.1",
"@voxpelli/node-test-pretty-reporter": "1.1.2",
"c8": "11.0.0",
"husky": "9.1.7",
"lint-staged": "17.0.7",
"oxfmt": "0.54.0",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"semantic-release": "25.0.5",
"tsc-alias": "1.8.17",
"tsx": "4.22.4",
"typescript": "6.0.3"
},
"peerDependencies": {
"@napi-rs/canvas": ">=1.0.0"
},
"peerDependenciesMeta": {
"@napi-rs/canvas": {
"optional": true
}
},
"engines": {
"node": ">=22.14.0",
"pnpm": ">=10"
},
"packageManager": "pnpm@11.1.3+sha512.c85357fe17ca12dd23dd7071822666dfd7e3cb76fe214e3370b5ea2fb34f2a231185509b63e717f3cd0acb38dd3f8d82bcd5e8172400ae678b70ea4fbed0896d"
}