npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

groupdocs-conversion-cloud

v25.12.0

Published

GroupDocs.Conversion Cloud SDK for Node.js

Readme

GroupDocs.Conversion Cloud Node.js SDK

This repository contains GroupDocs.Conversion Cloud SDK for Node.js source code. This SDK has been developed to help you get started with using our document conversion REST API, allowing to seamlessly convert your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, HTML, CAD, raster images and many more.

Installation

A package groupdocs-conversion-cloud is available at npmjs.com. You can install it with:

npm install groupdocs-conversion-cloud

Create an account

Creating an account is very simple. Go to Dashboard to create a free account. We’re using Single Sign On across our websites, therefore, if you already have an account with our services, you can use it to also access the Dashboard.

Create an API client app

Before you can make any requests to GroupDocs Cloud API you need to get a Client Id and a Client Secret. This will be used to invoke GroupDocs Cloud API. You can get it by creating a new Application.

Convert document

"use strict";
global.conversion_cloud = require("groupdocs-conversion-cloud");
global.fs = require("fs");

global.clientId = "XXXX-XXXX-XXXX-XXXX";
global.clientSecret = "XXXXXXXXXXXXXXXX";

const config = new conversion_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

global.convertApi = conversion_cloud.ConvertApi.fromConfig(config);

(async () => {
    let file = fs.readFileSync('./myFile.docx');
    let request = new conversion_cloud.ConvertDocumentDirectRequest("pdf", file);
    let result = await convertApi.convertDocumentDirect(request);
    console.log("Document converted: " + result.length);
})();

Convert document using cloud storage

"use strict";
global.conversion_cloud = require("groupdocs-conversion-cloud");
global.fs = require("fs");

global.clientId = "XXXX-XXXX-XXXX-XXXX";
global.clientSecret = "XXXXXXXXXXXXXXXX";

const config = new conversion_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

global.convertApi = conversion_cloud.ConvertApi.fromConfig(config);
global.fileApi = conversion_cloud.FileApi.fromConfig(config);

(async () => {
    // Upload file to cloud storage
    let file = fs.readFileSync('./myFile.docx');
    var uploadRequest = new conversion_cloud.UploadFileRequest("myFile.docx", file);
    await fileApi.uploadFile(uploadRequest);

    // Convert
    let settings = new conversion_cloud.ConvertSettings();
    settings.filePath = "myFile.docx";
    settings.format = "pdf";
    settings.outputPath = "converted";

    let result = await convertApi.convertDocument(new conversion_cloud.ConvertDocumentRequest(settings));
    console.log("Document converted: " + result[0].url);

    // Download result
    var response = await fileApi.downloadFile(new conversion_cloud.DownloadFileRequest("converted/myFile.pdf", null))
    console.log("Expected response type is Stream: " + response.length);
})();

Licensing

GroupDocs.Conversion Cloud Node.js SDK licensed under MIT License.

Resources

+Website +Product Home +Documentation +Free Support Forum +Blog

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.