Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 876 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 876 Bytes

PdfConverter

Introduction

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.

Features

  • Convert .doc, .odt, .txt, .jpg, and .jpeg files to .pdf.
  • Simple API for file conversion.

Installation

  1. Clone the repository:

    git clone https://github.com/Ashrithiiitdm/Pdfconverter.git
    cd PdfConverter
  2. Install node-dependencies

    npm i
  3. Start the server

    npm start

    or

    node index.js

    and type localhost:3000 in your default browser