Installation#

Inrupt provides the following JavaScript libraries:

Library

Description

solid-client

A client library for accessing data stored in Solid Pods.

solid-client-authn

A set of libraries for authenticating to Solid identity servers:

  • solid-client-authn-browser for use in a browser.

  • solid-client-authn-node for use in Node.js.

solid-client-access-grants

A client library for managing access requests and grants.

solid-client-notifications

A client library for subscribing to change notifications.

vocab-common-rdf

A library that provides convenience objects for many RDF-related identifiers from various existing vocabularies.

vocab-solid

A library that provides convenience objects for many Solid-related identifiers. Previously released as vocab-solid-common.

vocab-inrupt-core

A library that provides convenience objects for Inrupt-related identifiers. Previously released as vocab-inrupt-common.

Install#

You can use npm to install the libraries.

For example, to install the solid-client, solid-client-authn-browser, and vocab-common-rdf libraries:

npm install @inrupt/solid-client @inrupt/solid-client-authn-browser @inrupt/vocab-common-rdf

See also:

Next Steps#

For examples in using the libraries, see Using the Libraries.