Socket
Socket
Sign inDemoInstall

@groupdocs/groupdocs.conversion

Package Overview
Dependencies
100
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @groupdocs/groupdocs.conversion

Powerful converter for PDF, Word, Excel, PowerPoint and image files.


Version published
Weekly downloads
39
decreased by-26.42%
Maintainers
4
Created
Weekly downloads
 

Readme

Source

GroupDocs.Conversion for Node.js via Java is a powerful API to convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, raster images (TIFF, JPEG, GIF, PNG, BMP) and more.

Node.js Converter API Features

  • Convert whole document to desired target format.
  • Convert specific document page(s) or page ranges.
  • Auto-detect source document format on the fly without requiring the file extension.
  • Obtain a list of all supported conversion formats.
  • Replace missing fonts.
  • Add text or image watermarks to any page.
  • Extract document's basic information.
  • Load source document with extended options;
    • Specify password for password-protected documents.
    • Load specific part or pages of the document.
    • Hide or show document comments.

Supported File Formats

PDF: PDF (version 1.3, 1.4, 1.5, 1.6, 1.7)
Word Processing: DOC, DOCM, DOCX, DOT, DOTM, DOTX, MD, RTF, TXT
Spreadsheet: XLS, XLSX, XLSB, XLTX, XLTM, XLSM, CSV, NUMBERS, ODS
Presentation: PPT, PPTX, PPS, PPSX, POTM, POTX, POT, PPSM, PPTM
OpenOffice: ODS, ODP, OTP, ODT, OTT,
Images: JPG, PNG, SVG, BMP, GIF, AI, DJVU, ICO, TIFF
CAD: CF2, DGN, DWFX, DWT
Compression: 7Z, GZIP, RAR, ZIP
Database: LOG, NSF, SQL
Diagram: VDX, VSD, VSDM, VSDX
eBook: AZW3, EPUB, MOBI
Email and Outlook: EML, EMLX, MSG, PST
Font: CFF, EOT, OTF, TTF
Page Description Language: CGM, PS, SVG, XPS
Project Management: MPP, MPT, XER
Publisher: PUB
Web: HTML, JSON, VDW, XML

Getting Started with GroupDocs.Conversion for Node.js via Java

Installation

From the command line:

npm i @groupdocs/groupdocs.conversion

Convert DOCX to HTML using Node.js

const converter = new groupdocs.conversion.Converter("sample.docx")
const options = new groupdocs.conversion.MarkupConvertOptions()
converter.convert("ConvertToHtml.html", options);

Convert PDF to DOCX using Node.js

const converter = new groupdocs.conversion.Converter("sample.pdf")
const options = new groupdocs.conversion.WordProcessingConvertOptions()
converter.convert("output.docx", options)

Convert Word to Presentation via Node.js

const converter = new groupdocs.conversion.Converter(inputFilePath)
const options = new groupdocs.conversion.PresentationConvertOptions()
converter.convert("output.pptx", options)

Home | Product Page | Documentation | Blog | API Reference | Code Samples | Free Support | Temporary License

Keywords

FAQs

Last updated on 15 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc