Learn how to use the Hypothesis.js to interact with the Hypothesis REST API to create, read, update, and delete data via easy-to-use JavaScript methods.

<aside> 💡 What is Hypothesis? A customer development platform for SaaS companies.

</aside>

<aside> 💡 Want to use the REST API instead? Read the docs here.

</aside>

Status

Hypothesis.js is a wrapper for the Hypothesis REST API. You can check the current status of the Hypothesis API at https://api-status.hypothesis.app/.

Installation

Hypothesis.js can be installed via the NPM package manager (or Yarn, if you prefer):

npm i --save @hypothesisapp/js

After you've installed Hypothesis.js, you can import it into your application using either the ES6 import syntax, or, Common JS require syntax.

Using ES6 import syntax:

import Hypothesis from '@hypothesisapp/js';