open-index/open-npm huggingface dataset:
npm package: @qiaodan/ng-schema-demo
Description: A blank schematics
Latest version: 1.1.6

# ng schema demo

## 发布
```
npm run build
npm publish --access=public
```

## 安装
```
npm i @qiaodan/ng-schema-demo --save-dev
```

## 使用
```
ng g @qiaodan/ng-schema-demo:ng-schema-demo --name
```
npm package: @qiaojun/pcm
Description: 基于WebSocket的浏览器端简单的PCM数据流播放器，支持录音、播放、暂停、停止、等功能
Latest version: 1.0.3

# PCM
> 基于WebSocket的浏览器端简单的PCM数据流播放器，支持录音、播放、暂停、停止、等功能

## Install

using npm:

```sh
npm install @qiaojun/pcm --save
```


## Usage

```js
import Pcm from 'pcm';
// socket地址
const wsUrl = 'ws://localhost:9090';
// 采样率(8000 | 11025 | 16000 | 22050 | 24000 | 44100 | 48000)
const sampleRate = 8000;
// 声道数(1 | 2)
const channels = 1;
// 播放与录音是否平行处理(true | false)
const parallel = false;
// 采样位数(16 | 8)
const sampleBits = 16;
// 采样位数对应编码格式('Int16' | 'Int8')
const inputCodec = `Int${sampleBits}`;
// 创建pcm实例
const pcm = new PCM({
  wsUrl,
  player: {
    inputCodec,
    sampleRate,
    channels,
  },
  recorder: {
    sampleBits,
    sampleRate,
    channels,
  },
  parallel,
});
// 开始推送录音
pcm.startPushRecord(); 
// 停止推送录音
pcm.stopPushRecord(); 
// 开始接收音频
pcm.startReceiveAudio(); 
// 停止接收音频
pcm.stopReceiveAudio(); 
// 销毁
pcm.destroy(); 
```
## Live Demo

using npm:

```sh
npm install
npm run serve
```

or using yarn:

```sh
yarn
yarn serve
```
npm package: @qiaojun/utils
Description: 用于 React、Vue、微信小程序、uni-app 等项目中使用，是常用的工具函数
Latest version: 1.0.6

# utils
> 用于 React、Vue、微信小程序、uni-app 等项目中使用，是常用的工具函数

# Install

```bash
npm i @qiaojun/utils
```

# Usage
```javascript
import {add} from "@qiaojun/utils"
console.log(add(5,3))
```
npm package: @qiaojun/v-hooks
Description: 高性能和简单Vue 3钩子库，思路借鉴自 ahooks
Author: chuxin
Latest version: 1.0.5

# 介绍
> 高性能和简单 Vue 3 钩子库，思路借鉴自 ahooks
- github地址：https://github.com/chuxin-cs/v-hooks
- npm地址：https://www.npmjs.com/package/@qiaojun/v-hooks

# Install
```bash
npm i @qiaojun/v-hooks
```

## CDN
```html
<script src="https://cdn.jsdelivr.net/npm/@qiaojun/v-hooks/dist/hooks.umd.js"></script>
```

# Usage
```js
import { useState } from '@qiaojun/v-hooks'
```
# 中文文档
- 语雀：https://www.yuque.com/chuxin-cs/chuxin/lm7dm600tmf7mghe#MJjHd