Socket
Socket
Sign inDemoInstall

pdfjs

Package Overview
Dependencies
3
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfjs


Version published
Maintainers
1
Created

Readme

Source

pdfjs

A Portable Document Format (PDF) generation library targeting both the server- and client-side.

NPM Dependency Status Build Status

Documentation

npm install pdfjs@2.0.0-alpha.1

2.0.0 Breaking Changes

Version 2.0.0 is a re-write. The implementation is expected to settle with the current approach of streaming layouting with smart content chunking, which allows for having a small memory footprint even when creating a PDF document with thousands of pages.


Features

  • Text (with common formatting options)
  • Images (JPEGs, other PDFs)
  • Tables (fixed layout, header row)
  • Header & Footer
  • AFM fonts && OTF font embedding (as CID fonts, i.e., support for fonts with large character sets)
  • Add existing PDFs (merge them or add them as page templates)

If you are missing a feature, feel free to submit a PR or to ask for it.

History

  • v2.x - streaming layouting with smart content chunking
  • v1.x - calculate whole document layout upfront
  • v0.x - in-memory layouting with rollbacks

MIT License

MIT

Keywords

FAQs

Last updated on 08 May 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc