Official Onset SDK for Browsers
Used for loading public releases.
Installation and Usage
Simply install the package:
npm install --save @onsetio/browser
yarn add @onsetio/browser
Setup and usage of these SDKs always follows the same principle.
import { loadPage } from '@onsetio/browser';
const page = await loadPage('__PAGE_SLUG__');
const releases = page.releases();