Closed ghost closed 4 years ago
I found out.... it is:
const signpdf = require('node-signpdf')
const sign = signpdf.SignPdf(
FS.readFileSync("pdf.pdf"),
FS.readFileSync("p12.p12")
);
The documentation is wrong.
Hello, Just in case it helps someone... for me it was
var { SignPdf } = require("node-signpdf")
new SignPdf().sign(pdfBuffer, p12Buffer);
Hello,
After install of the node-signpdf i do:
But it gives: TypeError: signpdf.sign is not a function
How to proceed with this? Thank you.