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 TrialGroupDocs.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.
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.
You can try GroupDocs.Viewer Low-Code Node.js APIs without any limitations.
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.
Render and display various document formats within Node.js applications.
Choose from multiple viewing options, including whole documents, specific pages, or custom page ranges.
View documents in HTML, image (JPEG, PNG, TIFF), or PDF formats.
Easily incorporate document viewing capabilities into Node.js applications.
Customize viewer settings such as zoom levels, rotation, and text selection.
Extract document metadata, including properties, page count, and file size.
Add watermarks to documents.
Ensure secure communication between the Node.js application and GroupDocs.Viewer Cloud API.
Utilize an efficient caching mechanism to optimize rendering performance.
Benefit from the high availability and reliability of GroupDocs.Viewer Cloud for Node.js.
Convert documents to different formats, such as Word to PDF or Excel to HTML.
Generate thumbnail images for document pages to provide a quick overview.
Extract text content from documents for further processing or analysis.
Print documents directly from your Node.js application using GroupDocs.Viewer Cloud.
Rotate document pages to adjust the orientation as needed.
Zoom in or out of document pages to control the level of detail displayed.
Apply pagination to large documents for easier navigation and reading.
Navigate through document pages using intuitive controls, such as next/previous buttons or page dropdown.
Ensure a seamless viewing experience on different devices and screen sizes with responsive design.
Ensure compatibility with popular web browsers, including Chrome, Firefox, Safari, and Edge.
Integrate with popular file storage services like Dropbox, Google Drive, or Amazon S3 to access and render documents.
Use thumbnail images as a visual navigation aid to jump to specific document pages.
Create bookmarks within documents to bookmark specific sections or pages.
Extract individual document pages as separate image files.
Set document permissions to control user access and actions
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.
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);
});
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.