This project allows you to convert the following file formats to PDF:
.doc
(Microsoft Word).odt
(OpenDocument Text).txt
(Plain Text).jpg
(JPEG Image).jpeg
(JPEG Image)
It uses Node.js along with libraries like pdf-lib
,libreoffice-convert
for PDF manipulation and multer
for handling file uploads.
- Convert
.doc
,.odt
,.txt
,.jpg
, and.jpeg
files to.pdf
. - Simple API for file conversion.
-
Clone the repository:
git clone https://github.com/Ashrithiiitdm/Pdfconverter.git cd PdfConverter
-
Install node-dependencies
npm i
-
Start the server
npm start
or
node index.js
and type localhost:3000 in your default browser