open-index/open-npm huggingface dataset:
npm package: @mattw1235/fastboard
Description: A tiny wrapper of white-web-sdk and @netless/window-manager.
Latest version: 0.3.10

## @netless/fastboard

A tiny wrapper of white-web-sdk and @netless/window-manager.

## Usage

```js
import { createFastboard, createUI } from "@netless/fastboard";

createFastboard({
  sdkConfig: {
    appIdentifier: "whiteboard_app_id",
  },
  joinRoom: {
    uid: "unique_user_id",
    uuid: "room-uuid",
    roomToken: "NETLESSROOM_...",
  },
  managerConfig: {
    cursor: true,
  },
}).then(app => {
  createUI(app, document.getElementById("app"));
});
```

### License

MIT @ [netless](https://github.com/netless-io)
npm package: @mattw1235/fastboard-react
Description: React components of @netless/fastboard.
Latest version: 0.3.10

## @mattw1235/fastboard-react

The React wrapper of [@mattw1235/fastboard-ui](https://github.com/netless-io/fastboard/tree/main/packages/fastboard-ui).

## Usage

```js
import React, { useEffect, useState } from "react";
import ReactDOM from "react-dom";
import { useFastboard, Fastboard } from "@mattw1235/fastboard-react";

function App() {
  const app = useFastboard(() => ({
    sdkConfig: {
      appIdentifier: "whiteboard_app_id",
    },
    joinRoom: {
      uid: "unique_user_id",
      uuid: "room-uuid",
      roomToken: "NETLESSROOM_...",
    },
  }));

  return <Fastboard app={app} />;
}

ReactDOM.render(<App />, document.getElementById("app"));
```

### License

MIT @ [netless](https://github.com/netless-io)
npm package: @mattw1235/fastboard-ui
Description: The front-end of @netless/fastboard-core.
Latest version: 0.3.10

## @mattw1235/fastboard-ui

The front-end of [@netless/fastboard-core](https://github.com/netless-io/fastboard/tree/main/packages/fastboard-core).

### License

MIT @ [netless](https://github.com/netless-io)