@openeo/js-commons

    1.4.0 • 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.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.

    Keywords

    none

    Install

    npm i @openeo/js-commons

    Homepage

    openeo.org

    DownloadsWeekly Downloads

    48

    Version

    1.4.0

    License

    Apache-2.0

    Unpacked Size

    199 kB

    Total Files

    17

    Last publish

    Collaborators

    • m-mohr