Skip to content

Converting HTML To PDF using AWS Lambda Functions and Layers with Serverless Framework

Notifications You must be signed in to change notification settings

Pulcranet/htmltopdf

 
 

Repository files navigation

HTML To PDF using AWS Lambda Functions and Layers with Serverless

html-pdf is used to convert html to pdf

Prerequisite

  1. Nodejs
  2. Install Serverless globally
npm i -g serverless

Getting Started

Install all dependencies

npm install

Deployment

Step 1. First deploy the layer.

cd layers/
sls deploy

Step 2. Deploy the main service that will be converting html to pdf

cd htmlToPdf/
sls deploy

Reference

  1. https://github.com/naeemshaikh27/phantom-lambda-fontconfig-pack

About

Converting HTML To PDF using AWS Lambda Functions and Layers with Serverless Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.8%
  • JavaScript 43.2%