open-index/open-npm huggingface dataset:
npm package: @liulundang/rtcmulticonnection
Description: RTCMultiConnection is a WebRTC JavaScript wrapper library runs top over RTCPeerConnection API to support all possible peer-to-peer features.
Author: Muaz Khan
Latest version: 3.7.3

![](https://i.imgur.com/MFfRBSM.png)

# RTCMultiConnection - WebRTC JavaScript Library

[![npm](https://img.shields.io/npm/v/rtcmulticonnection.svg)](https://npmjs.org/package/rtcmulticonnection) [![downloads](https://img.shields.io/npm/dm/rtcmulticonnection.svg)](https://npmjs.org/package/rtcmulticonnection) [![Build Status: Linux](https://travis-ci.org/muaz-khan/RTCMultiConnection.png?branch=master)](https://travis-ci.org/muaz-khan/RTCMultiConnection)

> RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)

# 写在前面
- 原始项目地址：https://github.com/muaz-khan/RTCMultiConnection

- 原作者好像暂不维护了

### 迭代的内容
- [x] 修复`connection.socketOptions`配置不生效问题

## Socket.io Signaling Server

Signaling server has a separate repository:

* https://github.com/muaz-khan/RTCMultiConnection-Server

## Demos

* https://muazkhan.com:9001/demos/

## Getting Started Without Any Installation

* https://www.rtcmulticonnection.org/docs/getting-started/

## YouTube Channel

* https://www.youtube.com/playlist?list=PLPRQUXAnRydKdyun-vjKPMrySoow2N4tl

## Install On Your Own Website

* https://github.com/muaz-khan/RTCMultiConnection/tree/master/docs/installation-guide.md

```sh
mkdir demo && cd demo

# install from NPM
npm install rtcmulticonnection

# or clone from github
git clone https://github.com/muaz-khan/RTCMultiConnection.git ./

# install all required packages
# you can optionally include --save-dev
npm install

node server --port=9001
```

## Integrate Inside Any Nodejs Application

* https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/Integrate-inside-nodejs-applications

## `Config.json` Explained

* https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/config.json

## How to Enable HTTPs?

* https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/How-to-Enable-HTTPs

## Want to Contribute?

RTCMultiConnection is using `Grunt` to compile javascript into `dist` directory:

* https://github.com/muaz-khan/RTCMultiConnection/blob/master/CONTRIBUTING.md

## Wiki Pages

1. https://github.com/muaz-khan/RTCMultiConnection/wiki
2. https://github.com/muaz-khan/RTCMultiConnection-Server/wiki

## License

[RTCMultiConnection](https://github.com/muaz-khan/RTCMultiConnection) is released under [MIT licence](https://github.com/muaz-khan/RTCMultiConnection/blob/master/LICENSE.md) . Copyright (c) [Muaz Khan](https://MuazKhan.com/).
npm package: @liunancun/sky-ui
Description: ``` npm install ```
Author: liunancun
Latest version: 0.1.1

# sky-ui

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @liupeinye/homebridge-miio
Description: Use some Xiaomi devices with Homebridge: https://github.com/liupeinye/homebridge-miio
Latest version: 0.0.2

**homebridge-miio** is a platform plugin for homebridge which lets you switch
Xiaomi Power Plugs on and off using Homekit apps and Siri.

It seems very reliable now, and should coexist happily with other Xiaomi home
automation ecosystem plugins. Eventually it would be nice to support some other
device types, if people who have those devices want to do pull requests, or
donate hardware, it'd surely be welcomed. You don't need to configure anything,
just install the platform plugin with `npm install -g homebridge-miio`. devices
on the same subnet as your homebridge server will be discovered at launch and
every half hour after that, and supported devices will be polled for changes
occasionally to keep things responsive.

Here's an example homebridge config file, you could use to tweak the default
settings. Numbers are presented in seconds. If you choose to disable
`pollChanges` you may see some inconsistency if you also control your miIO
devices via the Mi Home app (including via Mi Home app timers).

_Note that currently only the WiFi plugs are supported, not the gateway-based
ones operating over Zigbee, though this is likely to change in the future._

```json
{
  "bridge": {
    "name": "TestBridge",
    "username": "CC:22:3D:E3:CE:33",
    "port": 51826,
    "pin": "031-45-154"
  },

  "description": "Test Bridge",
  "accessories": [],
  "platforms": [
    {
      "platform" : "XiaomiMiio",
      "name" : "XiaomiMiio",
      "pollChanges": true,
      "pollInterval": 15,
      "searchInterval": 1800,
    }
  ]
}
```
npm package: @liuprestin/lotide
Description: Lotide library - clone of lodash
Author: Prestin Liu
Latest version: 1.0.8

Lotide a Lodash Clone

An exersize and utility library thats MIT licenced

## Purpose

**_WARNING:_ This library is published for learning purposes. It is _not_ intended for use in production-grade software.**

Thank you for checking out this project.

## Usage

**Install it:**

`npm install @liuprestin/lotide`

**Require it:**

`const _ = require('@liuprestin/lotide');`

**Call it:**

`const results = _.tail([1, 2, 3]) // => 3`

## Documentation

The following functions are currently implemented:

- head : return the 1st value of an array
- tail : return the last value of an array
- middle : return the middle values of an array 
- flatten : given arrays in arrays --> return an array with no nested arrays
- joinList : take two arrays and join them together
- findKeyByValue :Given an object and a string of a value - find the related key
- letterPositions : letterPositions(string) take in a sentence and return collection of each index of a letter 
- map : re-create a copy of an original array modified by a callback function
- min : determine the smallest number in an array
- takeUntil : slice out elements of an array starting from the beginning of the array
- without : given an array and another array of target values - remove target values from original array
- countOnly : given an array of strings and a target string 
- countLetters : tabulate each unique letter in a string
npm package: @liuqbinh/shadcn
Description: Add components to your apps.
Author: shadcn
Latest version: 3.0.0

# shadcn

A CLI for adding components to your project.

## Usage

Use the `init` command to initialize dependencies for a new project.

The `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.js`, and CSS variables for the project.

```bash
npx shadcn init
```

## add

Use the `add` command to add components to your project.

The `add` command adds a component to your project and installs all required dependencies.

```bash
npx shadcn add [component]
```

### Example

```bash
npx shadcn add alert-dialog
```

You can also run the command without any arguments to view a list of all available components:

```bash
npx shadcn add
```

## Documentation

Visit https://ui.shadcn.com/docs/cli to view the documentation.

## License

Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md).
npm package: @liuqbinh/shadcn-ui
Description: Add components to your apps.
Author: shadcn
Latest version: 1.0.0

# shadcn-ui

> [!WARNING]
> The shadcn-ui CLI is going to be deprecated soon. See [shadcn](https://ui.shadcn.com/docs/cli) for more information.

Bug fixes and new features should be added to the `.packages/shadcn` instead.

## Documentation

Visit https://ui.shadcn.com/docs/cli to view the documentation.

## License

Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md).
npm package: @liuqh/easy-create-component
Description: 快速生成框架
Author: Liuqh
Latest version: 1.0.2

# 快速生成组件目录

![](https://img.shields.io/bundlephobia/minzip/@liuqh/easy-create-component)
![](https://img.shields.io/github/package-json/v/liuqh0609/easy-create-component)
![](https://img.shields.io/github/issues/liuqh0609/easy-create-component)
![](https://img.shields.io/github/license/liuqh0609/easy-create-component)


**一个团队内统一的风格比正确的更重要**
该 cli 是为了在项目中快速生成统一标准的项目文件目录。

需要确保项目中具有`src`目录，及其以下子目录

- `src/components`
- `src/pages`

## 安装

- `npm`

  `npm install -D @liuqh/easy-create-component`

- `yarn`

  `yarn add -D @liuqh/easy-create-component`

- `pnpm`

  `pnpm add -D @liuqh/easy-create-component`

## 使用

1. `npx store create [component_name]`


## 更新日志
- 2022年08月19日17:29:16
  - 增加文件名的大驼峰格式验证
  - 增加组件的容器样式名（增加hash值为后缀，防止污染全局样式）
  - 修复组件样式文件没有正确引入的问题
npm package: @liuqh/plugin-formula
Description: wangEditor formula 公式
Author: github.com/wangfupeng1988
Latest version: 0.0.1

# wangEditor 公式

[English Documentation](./README-en.md)

## 介绍

[wangEditor](https://www.wangeditor.com/) 公式插件，使用 [LateX](https://baike.baidu.com/item/LaTeX/1212106) 语法。

![](./_img/demo.png)

## 安装

```shell
yarn add katex
yarn add @wangeditor/plugin-formula
```

## 使用

### 注册到编辑器

```js
import { Boot, IEditorConfig, IToolbarConfig } from '@wangeditor/editor'
import formulaModule from '@wangeditor/plugin-formula'

// 注册。要在创建编辑器之前注册，且只能注册一次，不可重复注册。
Boot.registerModule(formulaModule)
```

### 配置

```js
// 编辑器配置
const editorConfig: Partial<IEditorConfig> = {
  // 选中公式时的悬浮菜单
  hoverbarKeys: {
    formula: {
      menuKeys: ['editFormula'], // “编辑公式”菜单
    },
  },

  // 其他...
}

// 工具栏配置
const toolbarConfig: Partial<IToolbarConfig> = {
  insertKeys: {
    index: 0,
    keys: [
      'insertFormula', // “插入公式”菜单
      // 'editFormula' // “编辑公式”菜单
    ],
  },

  // 其他...
}
```

然后创建编辑器和工具栏，会用到 `editorConfig` 和 `toolbarConfig` 。具体查看 wangEditor 文档。

### 显示 HTML

公式获取的 HTML 格式如下

```html
<span data-w-e-type="formula" data-w-e-is-void data-w-e-is-inline data-value="c = \\pm\\sqrt{a^2 + b^2}"></span>
```

其中 `data-value` 就是 LateX 格式的值，可使用第三方工具把 `<span>` 渲染成公式卡片，如 [KateX](https://katex.org/)。

## 其他

支持 i18n 多语言
npm package: @liuqiang1357/axios-fetch-adapter
Description: Fetch adapter for axios
Author: nta.toan@gmail.com
Latest version: 0.3.7

# Why

I'm going to adopt PWA to my web applications and those web apps are heavily using Axios with the default XMLHTTPRequest adapter. Hence, I have to switch to Fetch adapter; However, Axios doesn't have an adapter for fetch API for now. So I write one to use while waiting for an offical one from Axios.

# Installation and Usage

You can install the adapter directly from this repository URL or feel free to copy its source code to your project.

``` sh
npm install axios
npm install @liuqiang1357/axios-fetch-adapter
```

There are two ways to use it:

1.  Create a new instance of Axios and pass this adapter in configuration

``` js
const instance = axios.create({
  baseURL: 'https://some-domain.com/api/',
  timeout: 1000,
  adapter: fetchAdapter
  ....
});
```

2.  Pass this adapter in each of request

``` js
axios.request({
  url: '/user',
  method: 'get',
  adapter: fetchAdapter
  ...
})
```

3.  Use with FormData 

``` js
axios.request({
  url: '/user',
  method: 'post',
  adapter: fetchAdapter
  data: new FormData(formId)
  ...
})
```

# Note

- Since, this adapter relies on fetch API so it won't work in Node environment
npm package: @liuqiang1357/mookme
Description: A git hook manager designed for monorepos
Author: Maxence Lecanu
Latest version: 2.5.3

# MookMe

*A simple and easy-to-use, yet powerful and language agnostic git hook for monorepos.*

**[see the documentation](https://mookme.org)**

**[see the *beta* documentation](https://beta.mookme.org)**