Document Solutions for PDF JS について

WASM Powered PDF API Library for JavaScript.

Document Solutions for PDF JS (DsPdfJS) is a powerful PDF library for JavaScript and TypeScript that provides a rich set of APIs for fast, memory-efficient PDF and image processing in modern web and server-side environments.

Powered by WebAssembly (Wasm), DsPdfJS runs in browsers and JavaScript runtimes such as Node.js, Deno, and Bun. Its core object model follows the PDF specification, providing programmatic access to PDF elements such as document properties, pages, fonts, annotations, forms, and more.

DsPdfJS also includes high-level APIs for creating PDF documents with complex layouts including formatted text, graphics, images, forms, and advanced document workflows.

Document Solutions for PDF JS Features

  • Programmatically create, load, modify, save, or inspect PDF documents.
  • Support for modern PDF standards.
  • Export PDF pages to raster or vector image formats.
  • Merge or split PDF documents.
  • Draw text, shapes, paths, and images with high-level graphics APIs.
  • Powerful text formatting and layout engine with wrapping, alignment, spacing, tabs, RTL text. (including Kashida), and vertical writing.
  • Advanced font handling with embedding and subsetting support.
  • Add raster or vector images including PNG, JPEG, SVG, and SVGZ.
  • Create, edit, fill, or flatten AcroForm PDF forms.
  • Work with annotations, links, text markup, and rich media.
  • Find and replace text with configurable search options and exact match positions.
  • Programmatically create and apply redactions to permanently remove sensitive content.
  • Encryption and security APIs.
  • Image processing APIs for resizing, transforming, filtering, drawing, and bitmap generation.
  • Designed for efficient memory usage through explicit Wasm object lifecycle management.
  • TypeScript-ready with modern module support.