UNPKG

@comunica/bus-rdf-parse-html

Version:

A comunica bus for rdf-parse-html events.

26 lines (15 loc) 985 B
# Comunica Bus RDF Parse HTML [![npm version](https://badge.fury.io/js/%40comunica%2Fbus-rdf-parse-html.svg)](https://www.npmjs.com/package/@comunica/bus-rdf-parse-html) A bus for parses quads from an HTML document. 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-rdf-parse-html ``` ## Bus usage * **Context**: `"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-parse-html/^4.0.0/components/context.jsonld"` * **Bus name**: `ActorRdfParseHtml:_default_bus` ## Creating actors on this bus Actors extending [`ActorRdfParseHtml`](https://comunica.github.io/comunica/classes/_comunica_bus_rdf_parse_html.ActorRdfParseHtml.html) are automatically subscribed to this bus.