View Documents Online via Node.js SDK

Node.js APIs to view documents of popular file formats in HTML, image, PDF or in original format. Render whole file, page wise or range wise.

Start Free Trial

GroupDocs.Viewer Cloud is a true REST API that gives the complete freedom of platform & programming language whereas GroupDocs.Viewer Cloud SDK for Node.js is built as a layer on the top of GroupDocs.Viewer Cloud REST API, allowing a higher level of abstraction so that you don’t need to know the REST API to use this SDK.

GroupDocs.Viewer Cloud API allows you to seamlessly enhance your application with the capability to render a number of document formats with the ability to view a specific document in HTML, image, PDF or its original format. You also get the flexibility to render the whole document, page by page or custom range of pages. GroupDocs.Viewer Cloud SDK for Node.js has been developed to help you integrate all these features in your Node.js application without any hassle.

Advanced Document Viewer REST API Features

Render documents as HTML5

Render documents as Image

Rotate, reorder & watermark pages

Render documents as PDF

Render document attachments

APIs are secured and require authentication

Quickly Get Started with Document Viewing REST API

Get started quickly using GroupDocs.Viewer Cloud REST API with the GroupDocs.Viewer Cloud SDK for Node.js. It facilitates the users and speeds up the development of their applications written in Node.js while taking care of a lot of low-level details of making requests and handling responses and lets the users focus on writing code specific to their particular project.

Explore the Options for Document Presentation

The cloud-based viewer API has the ability to display different document formats quickly, with just a few lines of code. Using the SDK for Node.js you can use all these features of the API to render documents as HTML, spreadsheets or images.

Render the document as HTML - Node.js

  // Get your App SID and App Key at (free registration is required).
  var viewOptions = new groupdocs_viewer_cloud_1.ViewOptions();

  var fileInfo = new groupdocs_viewer_cloud_1.FileInfo();
  fileInfo.filePath = "viewerdocs/document.dwf";
  fileInfo.password = "";
  fileInfo.storageName = myStorage;
  viewOptions.fileInfo = fileInfo;

  var renderOptions = new groupdocs_viewer_cloud_1.HtmlOptions();
  renderOptions.externalResources = true;

  viewOptions.renderOptions = renderOptions;
  var request = new groupdocs_viewer_cloud_1.CreateViewRequest(viewOptions);

      .then(function (response) {

Easy Customization Options

GroupDocs.Viewer Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.

Support and Learning Resources

GroupDocs.Viewer Cloud also offers individual document rendering SDKs for other popular languages as listed below: