Skip to main content

Importing

We support ESM, Node and the Browser:

ESM

import { Neurosity } from "@neurosity/sdk";

Node

const { Neurosity } = require("@neurosity/sdk");

Browser

<script type="module">
import { Neurosity } from "./node_modules/neurosity/esm/neurosity.mjs";
</script>
<script nomodule src="./node_modules/neurosity/browser/neurosity.js">