About the Reference
These pages provide detailed descriptions of the Epicenter v3 JS libraries implemented by the epicenter-libs package (github.com/forio/epicenter-libs). The libraries contain adapters for the Epicenter REST API. Each adapter is described on two pages: one for its functions and one for its entities.
Use the navigation panel on the left to browse through the reference pages.
Documentation for the older versions of Forio Epicenter and the JS libraries can be found here.
What are adapters?
The adapters enable your application to communicate with the Epicenter backend. Each adapter exposes TypeScript functions that make REST API calls behind the scenes.
Using adapters in your code
To use an adapter, you must add the epicenter-libs package to your project by running npm install epicenter-libs and then import the adapter as shown in this example:
import { accountAdapter } from 'epicenter-libs';