Registry / utility / origami

origami

JSON →
library2.1.0rbrubygemsunverified

Origami is a pure Ruby library to parse, modify, and generate PDF documents.

gem install origami
INSTALL
IMPORT
SIG · ORIGAMI
O
origami
utilityrubyv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Origami
require 'origami'

Read a PDF and list page numbers

require 'origami' pdf = Origami::PDF.read('input.pdf') pdf.pages.each { |page| puts page.number }
Debug
Known issues
gotchaOrigami may not handle all PDF features (e.g., encryption, advanced annotations) correctly.
fix
Test thoroughly with your PDFs; consider using a more comprehensive library like HexaPDF for complex documents.
affects: <= 2.1.0
Upgrade
Version history
2.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
origami — gem install origami · libregistry