How to run examples

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-merger -- dnx GroupDocs.Merger.Mcp --yes
Folders, licensing and more →

The complete project GroupDocs.Merger Examples with code examples and sample files is hosted at GitHub.

Run examples using NPM

To get started make sure that Node.js is installed.

  1. Clone repository with examples git clone https://github.com/groupdocs-merger/GroupDocs.Merger-for-Node.js-via-Java.git
  2. Navigate to the examples folder cd ./GroupDocs.Merger-for-Node.js-via-Java/
  3. Install the necessary packages with the npm install command.
  4. Navigate to the examples folder cd ./Examples
  5. Run the examples with the node runExamples.js command.

To check what examples are available open Examples/runExamples.js file using your favorite text editor. Uncomment examples that you want to run and type node runExamples.js to start them.

Contribute

If you like to add or improve an example, we encourage you to contribute to the project. All examples in this repository are open source and can be freely used in your own applications.

To contribute, you can fork the repository, edit the source code and create a pull request. We will review the changes and include them in the repository if found helpful.