pdf-play
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

pdf-play

pdf-play Logo

A NPM Package for PDF manipulation.

Installation

You can install pdf-play using npm:

npm install pdf-play

Before using pdf-play, ensure that poppler-utils is installed on your system. You can install poppler-utils using the following commands:

For Linux (Debian/Ubuntu):

sudo apt update
sudo apt install poppler-utils

For macOS (using Homebrew):

brew install poppler
const { toImage } = require('pdf-play');

// Example usage
const pdfFilePath = '/path/to/your/pdf/file.pdf';
const options = { format: 'png' };

toImage(pdfFilePath, options);

Package Sidebar

Install

npm i pdf-play

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

3.72 kB

Total Files

8

Last publish

Collaborators

  • pranavbharadwaj007