Skip to content

Converts any office documents to pdf using the google drive API in NodeJs

License

Notifications You must be signed in to change notification settings

safirmotiwala/google-drive-api-doc-to-pdf-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

google-drive-api-doc-to-pdf-nodejs

This project converts any office documents to pdf using the google drive API. It first uploads the doc on the drive and then exports it in the pdf format.

Steps

  1. Follow the steps from here (https://dev.to/kamalhossain/google-drive-api-in-node-js-3mnm) to get crediantials.json and tokens.json
  2. Install the libraries
npm install
  1. Add the document in the root folder and change the name of the file in the code (filePath variable)
  2. Run the API
node server.js
References

Releases

No releases published

Packages

No packages published