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.

  • GroupDocs.Viewer Cloud SDK for cURL
  • GroupDocs.Viewer Cloud SDK for .NET
  • GroupDocs.Viewer Cloud SDK for Java
  • GroupDocs.Viewer Cloud SDK for PHP
  • GroupDocs.Viewer Cloud SDK for Python
  • GroupDocs.Viewer Cloud SDK for Ruby
  • GroupDocs.Viewer Cloud SDK for Android
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.

Frequently Asked Questions

I want to create my own Node.js application to view documents?

Check out GroupDocs.Viewer Cloud SDK for Node.js at GitHub if you are looking for the source code to view file in the Cloud.

Can I try GroupDocs.Viewer REST APIs on Node.js for free?

You can try GroupDocs.Viewer Low-Code Node.js APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.

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

Document Rendering

Render and display various document formats within Node.js applications.

Document Viewing Options

Choose from multiple viewing options, including whole documents, specific pages, or custom page ranges.

Output Formats

View documents in HTML, image (JPEG, PNG, TIFF), or PDF formats.

Simplified Integration

Easily incorporate document viewing capabilities into Node.js applications.

Viewer Customization

Customize viewer settings such as zoom levels, rotation, and text selection.

Metadata Extraction

Extract document metadata, including properties, page count, and file size.

Watermarking

Add watermarks to documents.

Secure Communication

Ensure secure communication between the Node.js application and GroupDocs.Viewer Cloud API.

Efficient Caching

Utilize an efficient caching mechanism to optimize rendering performance.

High Availability

Benefit from the high availability and reliability of GroupDocs.Viewer Cloud for Node.js.

Document Conversion

Convert documents to different formats, such as Word to PDF or Excel to HTML.

Thumbnail Generation

Generate thumbnail images for document pages to provide a quick overview.

Text Extraction

Extract text content from documents for further processing or analysis.

Print Support

Print documents directly from your Node.js application using GroupDocs.Viewer Cloud.

Document Rotation

Rotate document pages to adjust the orientation as needed.

Document Zooming

Zoom in or out of document pages to control the level of detail displayed.

Document Pagination

Apply pagination to large documents for easier navigation and reading.

Document Navigation

Navigate through document pages using intuitive controls, such as next/previous buttons or page dropdown.

Responsive Design

Ensure a seamless viewing experience on different devices and screen sizes with responsive design.

Cross-Browser Compatibility

Ensure compatibility with popular web browsers, including Chrome, Firefox, Safari, and Edge.

File Storage Integration

Integrate with popular file storage services like Dropbox, Google Drive, or Amazon S3 to access and render documents.

Document Thumbnail Navigation

Use thumbnail images as a visual navigation aid to jump to specific document pages.

Document Bookmarking

Create bookmarks within documents to bookmark specific sections or pages.

Document Extraction to Images

Extract individual document pages as separate image files.

Document Permissions

Set document permissions to control user access and actions

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 https://dashboard.groupdocs.cloud (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);

  viewerApi.createView(request)
      .then(function (response) {
          console.log(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.

View Documents using GroupDocs.Viewer Free App

TAR.GZSXCVSTCSSONEPROPERTIESMMTIFFIFCDOTMPSM1SASSCXXEMZSCMWEBPDJVUJPCSCALALESSSTLDIBTXZGIFXMLRSTEMLXYAMLHTMLVIMTEXXLTXGROOVYVSSMPOTDXFPPSIGSHPGJLSVDWNSFPPTXVSTXCSVDWGPDFCDRPPSMHAMLSVGPSTMDBATHTMPPTJAVAAIPOTXCPPSHDOCODPCMXMSGMLMPPFODPPPTMPYFODSPHPMHTMLERBCMAKEXPSEPUBVTXPNGRARODSOTPOXPSVSXCF2VCFTXTXLAMMHTZIPFODGSCRIPTVBDOCXDOTOSTDIFFNUMBERSPSDPSD1VSDXDWFAPNGPCLDOCMICOVSTMDNGMPXOTGPLVSDHVSSCSPPSXPSBODGEMLODTMBOXJPEGBMPXLSMJPMVSDMCEMFJP2XLSXSMLBZ2PS1TARPSTSVRBJSMAKEXLSBSVGZ7ZXLTMVDXGZIPMPTTGZRTFOTSMOBIJSONCCASTAR.XZDWTASMLOGXLSVSSXJPGOTTSQLMJ2CXZPOTMDCMHHGZOBJJ2KPLTDOTXTIFJPXDGNWMZWMFJPFCGMXLTCHMAS3EPSTGAXML

Support and Learning Resources

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

  English
262a188