Node.js wrapper for open-pdf-sign CLI. This allows you to easily sign PDF files from your node.js applications.
- nodejs
- java
npm i open-pdf-sign --saveSee demo/sample.js file for how to use with.
You can use all command line parameters from the open-pdf-sign Java CLI, including visible signatures, signatures text, etc.
const OpenPdfSign = require("open-pdf-sign")
await OpenPdfSign.sign("-i", "demo.pdf", "-o", "demo.signed.pdf", "-k", "key.pem", "-c", "cert.pem")You can also use open-pdf-sign in your TypeScript files:
import { OpenPdfSign } from "open-pdf-sign"
await OpenPdfSign.sign("-i", "demo.pdf", "-o", "demo.signed.pdf", "-k", "key.pem", "-c", "cert.pem")After installing all dependencies and downloading the latest version
of the open-pdf-sign CLI application by running npm i,
run npm run build to build the typescript files.
- v0.2.0 - Changed invocation - please update to use different array elements for different arguments
This project is licensed under the Apache 2.0-license.