Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License
Runnable code for GroupDocs.Total for Node.js via Java — every GroupDocs document API for Node.js in one examples project: viewing, conversion, comparison, signing, annotation, editing, metadata, search, watermarking, merging, parsing, redaction and Markdown.
Examples/ holds a small, self-contained script per feature across the bundled products — each opens a sample file, does one thing, and writes an output. Sample files sit next to the code that uses them, so an example runs with no extra setup.
cd Examples
# Run every example
npm start
# List every example, then run one on its own
node run_all_examples.js --list
node run_all_examples.js --example ViewerRenderToHtmlYou can also run an individual example by navigating to its folder and executing the script. Output files are placed in the same folder as the script file.
-
Set Up Environment: Ensure that Node.js 20 LTS and a Java Runtime Environment (JRE) 8+ are installed on your system.
-
Get the Code: Clone or download this repository.
git clone git@github.com:groupdocs-total/GroupDocs.Total-for-Node.js-via-Java.git
-
Navigate to the
ExamplesFoldercd ./GroupDocs.Total-for-Node.js-via-Java/Examples -
Install Package: Run
npm install. This pulls@groupdocs/groupdocs.totalfrom npm. We typically keep the dependency on the latest published version; to use another version, change it inpackage.json. -
Configure License (Optional): If you have a license file, you can set the license path in the
run_all_examples.jsfile. By default, the runner checks for theGROUPDOCS_LICENSE_PATH(orGROUPDOCS_LIC_PATH) environment variable or looks for files with the.licextension in theExamplesdirectory. You can also get a temporary license to test all the features.Without a license the APIs run in evaluation mode and add trial watermarks to output.
-
Run the Examples: To run all the examples, execute:
npm start
GroupDocs.Total for Node.js via Java is a comprehensive suite of high-performance libraries that integrate document manipulation into Node.js applications — no other commercial software required. Across PDF, DOCX, PPTX, XLSX and 90+ other formats it can:
- View documents as HTML, PDF or images
- Convert between 170+ formats
- Compare two versions and accept or reject changes
- Sign documents and search or verify signatures
- Annotate documents and read the markup back
- Edit documents through an HTML round trip
- Read and edit metadata, search document collections, watermark, merge/split, parse text and data, redact sensitive content, and export to Markdown
GroupDocs.Assembly and GroupDocs.Classification are separate products and are not part of GroupDocs.Total for Node.js via Java.
Where a dedicated example repository exists, it is linked below. Missing example repositories are marked as not available yet.
| Product | Examples | API Reference | Documentation |
|---|---|---|---|
| Annotation | Not available yet | API | Docs |
| Comparison | Examples | API | Docs |
| Conversion | Examples | API | Docs |
| Editor | Examples | API | Docs |
| Merger | Examples | API | Docs |
| Metadata | Examples | API | Docs |
| Parser | Not available yet | API | Docs |
| Redaction | Examples | API | Docs |
| Search | Examples | API | Docs |
| Signature | Examples | API | Docs |
| Viewer | Examples | API | Docs |
| Watermark | Examples | API | Docs |
| Markdown | Not available yet | API | Docs |
- npm: @groupdocs/groupdocs.total
- Documentation: docs.groupdocs.com/total
- API reference: reference.groupdocs.com
- Free support: Forum
- Paid support: Helpdesk
- Blog: GroupDocs.Total
This project is licensed under the MIT License — see the LICENSE file for details.
Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Temporary License