UNPKG

@comunica/bus-query-source-identify-hypermedia

Version:

A comunica bus for query-source-identify-hypermedia events.

28 lines (16 loc) 1.17 kB
# Comunica Bus Query Source Identify Hypermedia [![npm version](https://badge.fury.io/js/%40comunica%2Fbus-query-source-identify-hypermedia.svg)](https://www.npmjs.com/package/@comunica/bus-query-source-identify-hypermedia) A comunica bus for identifying a query source based on the extracted metadata. This module is part of the [Comunica framework](https://github.com/comunica/comunica), and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/). [Click here if you just want to query with Comunica](https://comunica.dev/docs/query/). ## Install ```bash $ yarn add @comunica/bus-query-source-identify-hypermedia ``` ## Usage ## Bus usage * **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-source-identify-hypermedia/^1.0.0/components/context.jsonld"` * **Bus name**: `ActorQuerySourceIdentifyHypermedia:_default_bus` ## Creating actors on this bus Actors extending [`ActorQuerySourceIdentify`](https://comunica.github.io/comunica/classes/bus_query_source_identify_hypermedia.actorquerysourceidentifyhypermedia.html) are automatically subscribed to this bus.