maazmmd / digital-sign-pdf-node

Convert HTML file into PDF and Digital sign generated PDFs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert HTML to PDF and digital sign pdf using NodeJS

Usage

  • read html file and convert to pdf
  • digital sign pdf using digital signature X509 Certificate issued by Cert Authorities

Requirements

Installation

Download and install prequities(requirements)

Steps

  1. Clone the repository: git clone https://github.com/maazmmd/
  2. Install packages : npm install
  3. Run the file : node html2pdf.js
    • Path to HTML file to be convert to PDF: assets/template/sample.html
    • Path to Digital Certificate: assets/cert.pfx
    • PDF file to be ditially signed: assets/template/example.pdf (This can also be pdf generated from sub-step 1)

About

Convert HTML file into PDF and Digital sign generated PDFs


Languages

Language:JavaScript 80.4%Language:HTML 19.6%