JavaScript client library for interacting with GraphDB and RDF4J REST API. v4.0.0 supports Node.js >=14.17.0. Provides ServerClient for RDF4J API and GraphDBServerClient for GraphDB-specific features. Includes TypeScript definitions. Key differentiator: seamless integration of RDF4J and GraphDB APIs in Node.js. Release cadence: major versions with breaking changes. Built on RDF/JS data model.
npm install graphdbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import ServerClient, list repositories, and execute a SPARQL query.
Use named imports (e.g., import { ServerClient } from 'graphdb').Upgrade Node.js to >=14.17.0.
Review v4 migration guide for method signatures.
Use ES import syntax or dynamic import().
Install @types/rdf-js if you need full RDF/JS typings.
Use import { ServerClient } from 'graphdb' or dynamic import.Ensure graphdb >=4.0.0 is installed and tsconfig.json has 'moduleResolution': 'node'.
Check endpoint URL and repository existence.
No dependency data recorded yet.