@inrupt/solid-client API Documentation#
@inrupt/solid-client is a JavaScript library for accessing data and managing permissions on data stored in Solid Pods. It provides an abstraction layer on top of both Solid and Resource Description Framework (RDF) principles and is compatible with the RDF/JS specification. You can use solid-client in Node.js using either CommonJS or ESM modules, and in the browser with a bundler like Webpack, Rollup, or Parcel.
It is part of a family open source JavaScript libraries designed to support developers building Solid applications.
Installation#
For the latest stable version of solid-client:
npm install @inrupt/solid-client
Changelog#
See the release notes.
Supported environments#
Our JavaScript Client Libraries use relatively modern JavaScript, aligned with the ES2018 Specification features, we ship both ESM and CommonJS, with type definitions for TypeScript alongside.
This means that out of the box, we only support environments (browsers or runtimes) that were released after mid-2018, if you wish to target other (older) environments, then you will need to cross-compile our SDKs via the use of Babel, webpack, SWC, or similar.
If you need support for Internet Explorer, it is recommended to pass them
through a tool like Babel, and to add polyfills for
e.g. Map
, Set
, Promise
, Headers
, Array.prototype.includes
,
Object.entries
and String.prototype.endsWith
.
Additionally, when using this package in an environment other than Node.js, you will need a polyfill for Node’s buffer module.
Node.js Support#
Our JavaScript Client Libraries track Node.js LTS releases, and support 16.x, 18.x and 20.x.
Issues & Help#
Solid Community Forum#
If you have questions about working with Solid or just want to share what you’re working on, visit the Solid forum. The Solid forum is a good place to meet the rest of the community.
Bugs and Feature Requests#
For public feedback, bug reports, and feature requests please file an issue via Github.
For non-public feedback or support inquiries please use the Inrupt Service Desk.
API#
Modules#
- Module: acl/acl
- Module: acl/agent
- Module: acl/class
- Module: acl/group
- Module: acl/mock
- Module: acp_ess_1
- Module: acp_ess_2
- Module: formats
- Module: interfaces
- Module: profile/jwks
- Module: profile/webid
- Module: rdfjs
- Module: resource/file
- Module: resource/mock
- Module: resource/resource
- Module: resource/solidDataset
- Module: thing/add
- Module: thing/build
- Module: thing/get
- Module: thing/mock
- Module: thing/remove
- Module: thing/set
- Module: thing/thing
- Module: universalAccess