Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@openeo/js-commons

A set of common JavaScript functionalities for openEO.

The master branch is the 'stable' version of library, which is currently version 1.3.0. The draft branch is where active development takes place.

Dependencies Minified Size Minzipped Size Supported API Versions JS Commons Tests

Features

  • Converting responses from API version 0.4 to the latest API version is supported for:
    • Capabilities
    • Collections
    • Processes
    • Output Formats
    • Service Types
    • UDF Runtimes
  • Back-end feature detection
  • Validate, compare and prioritize version numbers (e.g. for well-known discovery)
  • Process specification parsing utilities
  • Other Utils

Note:

  • Process graph parsing has been moved to openeo-js-processgraphs.
  • Support for migrating from API 0.3 to the latest API version has been dropped. Use the library in version 0.4 instead.

Usage

To use it in a node environment use: npm install @openeo/js-commons

You can then require the parts of the library you want to use. For example: const { MigrateProcesses } = require('@openeo/js-commons');

In a web environment you can include the library as follows:

<script src="https://cdn.jsdelivr.net/npm/@openeo/js-commons@1/dist/main.min.js"></script>

More information can be found in the JS commons documentation.

About

JavaScript library for common openEO related tasks such as cross version compatibility and more.

Resources

License

Packages

No packages published