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

0.1.7 • Public • Published

open-pdf-sign node.js wrapper

npm-image

Node.js wrapper for open-pdf-sign CLI. This allows you to easily sign PDF files from your node.js applications.

Prerequisites

  • nodejs
  • java

Installation

npm i open-pdf-sign --save

Usage

See 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")

Development

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.

License

This project is licensed under the Apache 2.0-license.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.77latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.77
0.1.00
0.0.40
0.0.31
0.0.20
0.0.11

Package Sidebar

Install

npm i open-pdf-sign

Weekly Downloads

9

Version

0.1.7

License

Apache-2.0

Unpacked Size

32.1 MB

Total Files

12

Last publish

Collaborators

  • superphil0
  • cproof