# @interopio/browser

## Overview

The [`@interopio/browser`](https://www.npmjs.com/package/@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:

```cmd
npm install @interopio/browser
```

## Usage

The following example demonstrates basic initialization of the `@interopio/browser` library in a Browser Client app.

> ℹ️ *For more details on using the `@interopio/browser` library, see the **io.Connect Browser** [official documentation](https://docs.interop.io/browser/developers/browser-client/javascript/index.html).*

```javascript
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!");
});
```
