We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A reference error is thrown when attempting to save the pdf assembly without having filesaver.
const PDFAssembler = require('pdfassembler').PDFAssembler; async function main() { var pdf = new PDFAssembler("receipt.pdf"); var structure = await pdf.getPDFStructure(); structure['/Root']['/Pages']['/Kids'][0]['/Contents'] = [{ 'stream': "1 0 0 1 72 708 cm BT /Helv 12 Tf (Hello world!) Tj ET" }]; // ReferenceError: File is not defined pdf.assemblePdf("output.pdf"); } main();
Possibly add it as a dependency?
Awesome lib though!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A reference error is thrown when attempting to save the pdf assembly without having filesaver.
Possibly add it as a dependency?
Awesome lib though!
The text was updated successfully, but these errors were encountered: