Socket
Socket
Sign inDemoInstall

pdfjs

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfjs

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


Version published
Weekly downloads
43K
increased by5.41%
Maintainers
1
Weekly downloads
 
Created
Source

pdfjs

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

NPM Dependency Status Build Status

Documentation | Playground

npm install pdfjs

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) ¹
  • Document outline

A lot of examples can be found in the test folder.

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

¹ Adding other PDFs as images or merging them together is still being considered a beta - proper error handling is adviced

History

See CHANGELOG.

MIT License

MIT

Keywords

FAQs

Package last updated on 22 Sep 2018

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc