Packages
Each package can be used on its own. Install only what you need.
-
@shapething/shacl-rendererReact forms and views made from SHACL shapes.
Give it a shapes graph and a data graph and it renders a form to edit, a view to read, or facets to filter, with live validation. It also generates TypeScript types and test data from your shapes. Implements SHACL 1.2 Core and the proposed SHACL-UI extension.
-
@shapething/typed-sparqlTypeScript types for your SPARQL queries.
A Vite plugin and a command line tool that read the SPARQL queries in your code and generate TypeScript types for their results, so your editor knows which variables a query returns.
-
@shapething/resource-fetcherFetch one complete resource, blank nodes and all.
Retrieves all triples that belong to one IRI from a store or a SPARQL endpoint, including nested blank nodes. It builds on the Concise Bounded Description and can be guided by a SHACL shape.
-
@shapething/textstoreFuzzy search on top of any RDF/JS store.
Wraps an RDF/JS store, such as an N3 Store or a LocalStore, and adds in-memory fuzzy text search. You search with a special predicate, so it works with plain SPARQL.
-
@shapething/localstoreA folder on your computer as a triplestore.
An RDF/JS store that reads Turtle files from a folder and writes changes back to them, so you can query and update them with a SPARQL engine such as Comunica. Runs in Chrome.