How to run examples

The complete project GroupDocs.Viewer 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-viewer/GroupDocs.Viewer-for-Node.js-via-Java.git
  2. Navigate to the examples folder cd ./GroupDocs.Viewer-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.