open-index/open-npm huggingface dataset:
npm package: @gcpaas/vue-draggable-resizable-gorkys
Description: Vue 用于可调整大小和可拖动元素的组件并支持冲突检测与吸附对齐
Author: liu.shiyi
Latest version: 1.0.2-2024010403-Alpha

<h1 align="center">@gcpaas/vue-draggable-resizable-gorkys</h1>

[![Latest Version on NPM](https://img.shields.io/npm/v/vue-draggable-resizable.svg?style=flat-square)](https://npmjs.com/package/vue-draggable-resizable-gorkys)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![npm](https://img.shields.io/npm/dt/vue-draggable-resizable.svg?style=flat-square)](https://www.npmjs.com/package/vue-draggable-resizable-gorkys)

## 说明

该插件是基于开源插件vue-draggable-resizable-gorkys做的修改，具体使用请参考README_2、README_3，这个是原版插件的使用文档

## 该版本修复的问题清单：

* fix：解决了原版插件中拖拽组件的同时点击右键时，会导致组件不能继续拖拽的问题
* fix：解决了原版插件中无法设置组件旋转的问题
* fix：解决了设置旋转属性后，控制杆拉动组件大小改变问题
npm package: @gcpdev/ion-sdk-js
Description: A js sdk for ion sfu
Author: pion
Latest version: 1.7.8

# ion-sdk-js

Frontend sdk for the Ion backend.

## Changelog

[See here](https://github.com/avxit/ion-sdk-js/commits/patch-1).

## Installation

`npm install ion-sdk-js`

## Usage

```ts
import { Client, LocalStream, RemoteStream } from 'ion-sdk-js';
import { IonSFUJSONRPCSignal } from 'ion-sdk-js/lib/signal/json-rpc-impl';
const signal = new IonSFUJSONRPCSignal("wss://ion-sfu:7000/ws");
const client = new Client(signal);
signal.onopen = () => client.join("test session", "test uid")

// Setup handlers
client.ontrack = (track: MediaStreamTrack, stream: RemoteStream) => {
    // mute a remote stream
    stream.mute()
    // unmute a remote stream
    stream.unmute()

    if (track.kind === "video") {
         // prefer a layer
         stream.preferLayer("low" | "medium" | "high")
    }
});

// Get a local stream
const local = await LocalStream.getUserMedia({
    audio: true,
    video: true,
    simulcast: true, // enable simulcast
});

// Publish stream
client.publish(local);

// mute local straem
local.mute()

// unmute local stream
local.unmute()

// create a datachannel
const dc = client.createDataChannel("data")
dc.onopen = () => dc.send("hello world")

// Close client connection
client.close();
```