Skip to content

radhey113/convert-html-to-pdf-with-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert html 2 pdf with Node JS

Pre-Requisite

Steps

In the root directory of this code, use the following commands: npm install - it will install your project dependencies npm start - it will start your server then open your browser and use http://localhost:3002.

Note: By default your server is going to run on PORT 3002.

Default ports:

- '3002'

How to set Envrionment Variable (If you want to set):

Steps to set Custom Port: Set environment variable port for your server. Just use export port=3002. To verify varialbe is set of not, just run the command: echo ${port}.

This is all you need to deploy this demo Convert html 2 pdf with Node JS application. If anyone wants any further instruction can contact me through email.

Thank you

About

This module is used for converting static or dynamic html to PDF by using Phantom JS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published