pdf-lib plugin for Uploadista document processing
pdf-lib-based DocumentPlugin implementation for Uploadista Flow.
- Pure JavaScript implementation (no native dependencies)
- PDF splitting and merging
- Metadata extraction
- Works in both Node.js and browsers
``bash`
pnpm add @uploadista/flow-documents-pdflib
`typescript
import { PdfLibDocumentPluginLive } from "@uploadista/flow-documents-pdflib";
import { Effect, Layer } from "effect";
// Provide the plugin to your flow execution
const program = Effect.gen(function* () {
// Your flow logic here
}).pipe(Effect.provide(PdfLibDocumentPluginLive));
``
- Pure JavaScript: No native binaries or external dependencies
- Cross-platform: Works in Node.js, browsers, and edge runtimes
- Actively maintained: MIT licensed with regular updates
- Comprehensive: Supports PDF creation, modification, and reading
pdf-lib has limited text extraction capabilities. For text extraction from searchable PDFs, use the unpdf plugin instead.
MIT