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.

vocab-common-rdf

A library that provides convenience objects for many RDF-related identifiers, such as the Person and familyName identifiers from the Schema.org vocabulary from Google, Microsoft and Yahoo!

vocab-solid-common

A library that provides convenience objects for many Solid-related identifiers.

vocab-inrupt-common

A library that provides convenience objects for Inrupt-related identifiers.

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

Using the Libraries

API Documentation