pdf_oxide 0.3.24

The fastest Rust PDF library with text extraction: 0.8ms mean, 100% pass rate on 3,830 PDFs. 5× faster than pdf_extract, 17× faster than oxidize_pdf. Extract, create, and edit PDFs.
Documentation
{
  "name": "pdf-oxide",
  "version": "0.3.24",
  "type": "module",
  "description": "High-performance PDF parsing and text extraction library with multi-language support",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "scripts": {
    "prebuild": "npm run compile:ts",
    "build": "npm run compile:ts && node scripts/fix-esm-imports.js && node-gyp build",
    "compile:ts": "tsc",
    "typecheck": "tsc --noEmit",
    "clean:ts": "rimraf lib/",
    "clean": "npm run clean:ts && node-gyp clean",
    "install": "npm run build",
    "test": "node --test tests/smoke.test.mjs"
  },
  "files": [
    "lib/",
    "src/",
    "binding.gyp",
    "package.json",
    "README.md"
  ],
  "keywords": [
    "pdf",
    "text-extraction",
    "pdf-parsing",
    "rust-ffi",
    "native-binding"
  ],
  "author": "PDF Oxide Contributors",
  "license": "MIT",
  "homepage": "https://github.com/yfedoseev/pdf_oxide",
  "repository": {
    "type": "git",
    "url": "https://github.com/yfedoseev/pdf_oxide.git",
    "directory": "nodejs"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "exports": {
    ".": {
      "import": "./lib/index.js",
      "types": "./lib/index.d.ts"
    },
    "./builders": {
      "import": "./lib/builders/index.js",
      "types": "./lib/builders/index.d.ts"
    },
    "./managers": {
      "import": "./lib/managers/index.js",
      "types": "./lib/managers/index.d.ts"
    },
    "./errors": {
      "import": "./lib/errors.js",
      "types": "./lib/errors.d.ts"
    }
  },
  "gypfile": true,
  "binary": {
    "module_name": "pdf_oxide",
    "module_path": "./build/Release/",
    "host": "https://github.com/releases/download/",
    "remote_path": "./v{version}/{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
    "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz"
  },
  "devDependencies": {
    "@types/node": "^18.0.0",
    "node-gyp": "^9.3.1",
    "rimraf": "^5.0.0",
    "typescript": "^5.3.0"
  },
  "dependencies": {
    "node-addon-api": "^8.7.0"
  }
}