@interopio/browser
v4.3.0
Published
IOConnect Browser client application package
Readme
@interopio/browser
Overview
The @interopio/browser library provides access to the io.Connect APIs for Browser Client apps that are part of io.Connect Browser projects.
Installation
To install the library, execute the following command:
npm install @interopio/browserUsage
The following example demonstrates basic initialization of the @interopio/browser library in a Browser Client app.
ℹ️ For more details on using the
@interopio/browserlibrary, see the io.Connect Browser official documentation.
import IOBrowser from "@interopio/browser";
// Use the initialized API object returned by the factory function to access the io.Connect APIs.
const io = await IOBrowser();
// Using the io.Connect APIs.
await io.interop.register("myApp", () => {
console.log("Hello from myApp!");
});