Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Total for Node.js via Java - Code Examples

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

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 ViewerRenderToHtml

You 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.

Get Started

  1. Set Up Environment: Ensure that Node.js 20 LTS and a Java Runtime Environment (JRE) 8+ are installed on your system.

  2. Get the Code: Clone or download this repository.

    git clone git@github.com:groupdocs-total/GroupDocs.Total-for-Node.js-via-Java.git
  3. Navigate to the Examples Folder

    cd ./GroupDocs.Total-for-Node.js-via-Java/Examples
  4. Install Package: Run npm install. This pulls @groupdocs/groupdocs.total from npm. We typically keep the dependency on the latest published version; to use another version, change it in package.json.

  5. Configure License (Optional): If you have a license file, you can set the license path in the run_all_examples.js file. By default, the runner checks for the GROUPDOCS_LICENSE_PATH (or GROUPDOCS_LIC_PATH) environment variable or looks for files with the .lic extension in the Examples directory. 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.

  6. Run the Examples: To run all the examples, execute:

    npm start

All-in-one document automation API

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.

Individual product examples

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

Resources

License

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages