Initialization

To interact with the API, you must initialize the ForkPDFClient with your API Key and Project ID. You can find both of these in your dashboard.

const { ForkPDFClient } = require('forkpdf');

// Initialize the client
const client = new ForkPDFClient('pk_live_...', 'your-project-uuid');