New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fpdfjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fpdfjs

Fast, simple PDF generation in TypeScript

  • 0.1.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-35.71%
Maintainers
1
Weekly downloads
 
Created
Source

fpdfjs

A TypeScript library for generating PDFs

  • The initial version of this library is a port from FPDF.
  • It may or may not be ready for production use, depending on your needs

Motivation

We were using PDFKit for a project that was doing very high volume PDF creation. Unfortunately PDFKit's (otherwise excellent) font handling code was just too slow to keep up. In order to speed things up we ported over the less robust but much faster implementation from FPDF and tFPDF. The result is something that is much faster if it does what you want, but may not do what you want.

Instructions

npm install --save fpdfjs

Usage

See bin/examples

What's Done

  • Basic handling of text, standard fonts, and custom fonts
  • Some vector operations

What's not Done

  • Lots and lots of stuff

Development

Building

./bin/build-standard-fonts.sh (one time)
npm run build (to do a full build)
npm run watch (to watch and build continuously)

FAQs

Package last updated on 10 Jun 2019

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