@openeo/js-commons

1.4.1 • Public • Published

@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.4.1. 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.4.1
    23
    • latest

Version History

Package Sidebar

Install

npm i @openeo/js-commons

Homepage

openeo.org

Weekly Downloads

23

Version

1.4.1

License

Apache-2.0

Unpacked Size

198 kB

Total Files

17

Last publish

Collaborators

  • m-mohr