UNPKG

quadstore

Version:

Quadstore is a LevelDB-backed RDF graph database / triplestore for JavaScript runtimes (browsers, Node.js, Deno, Bun, ...) that implements the RDF/JS interfaces and supports SPARQL queries and querying across named graphs.

5 lines (4 loc) 286 B
import type { Quad, Term } from '@rdfjs/types'; import type { TermName } from '../types/index.js'; export declare const getTermComparator: () => (a: Term, b: Term) => (-1 | 0 | 1); export declare const getQuadComparator: (_termNames?: TermName[]) => (a: Quad, b: Quad) => (-1 | 0 | 1);