
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Extract structured data from invoices, receipts, and documents. PDF/image in, JSON out.
Extract structured data from invoices, receipts, and documents. Send a PDF or image, get clean JSON back.
npm install apapyr
const { aPapyr } = require("apapyr");
const client = new aPapyr("sk_live_your_key");
// Extract data from an invoice
const result = await client.extract("invoice.pdf");
console.log(result.getField("vendor_name")); // "Acme Corp"
console.log(result.getField("total")); // 1250.00
console.log(result.confidence); // 0.97
// Get all fields as a flat object
console.log(result.toFlatDict());
// { document_type: "invoice", vendor_name: "Acme Corp", total: 1250.00, ... }
aPapyr works natively with AI agents via MCP:
claude mcp add apapyr -- npx @apapyr/mcp-server
Then just ask: "Extract the data from invoice.pdf"
invoice — vendor, total, tax, due_date, line_itemsreceipt — merchant, total, tax, tip, payment_methodw2 — employer, wages, federal_tax, state_taxbank_statement — bank, balances, transactionscontract — parties, dates, value, obligationsauto — automatically detects type (default)export APAPYR_API_KEY=sk_live_your_key
const client = new aPapyr(); // reads from env
FAQs
Extract structured data from invoices, receipts, and documents. PDF/image in, JSON out.
We found that apapyr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.