@metreeca/mime
    Preparing search index...

    Module @metreeca/mime-jsonld - v0.2.0

    JSON-LD processing tasks.

    Provides ready-made @metreeca/flow tasks for processing JSON-LD content in pipelines run by the @metreeca/gear executor, shaped by the @metreeca/blue blueprints that describe the linked data at hand.

    @metreeca/mime-jsonld

    npm

    JSON-LD processing tasks for @metreeca/mime.

    Installation

    npm install @metreeca/gear         # the job executor
    npm install @metreeca/mime-jsonld # this package
    Important

    Node.js 22 or later is required.

    Warning

    TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json. The legacy "node" resolver is not supported.

    Usage

    Task Description
    validate() JSON-LD resource shape validator

    Support

    • open an issue to report a problem or to suggest a new feature
    • start a discussion to ask a how-to question or to share an idea

    License

    This project is licensed under the Apache 2.0 License – see LICENSE file for details.

    validate

    Creates a task admitting only the JSON-LD resource descriptions a shape accepts.