Keep your customers and stakeholders aligned and informed on the latest product changes.
This is the next line of Onset JavaScript SDKs, comprised in the @onsetio/
namespace. It will provide a more convenient interface and improved consistency between various JavaScript environments.
For each major JavaScript platform, there is a specific high-level SDK that provides all the tools you need in a single package. Please refer to the README and instructions of those SDKs for more detailed information:
@onsetio/browser
: SDK for Browsers@onsetio/node
: SDK for Node.js@onsetio/widget
: SDK for Widget
To install a SDK, simply add the high-level package, for example:
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();