open-index/open-npm huggingface dataset:
npm package: @mqn/capacitor-plugin-speedata
Description: Capacitor的Android平台思必拓设备插件
Author: MQN
Latest version: 0.0.7

# @mqn/capacitor-plugin-speedata

Capacitor的Android平台思必拓设备插件

## Install

```bash
npm install @mqn/capacitor-plugin-speedata
npx cap sync
```

## API

<docgen-index>

* [`initSd60Id(...)`](#initsd60id)
* [`getSd60IdInfor(...)`](#getsd60idinfor)
* [`stopGetSd60IdInfor()`](#stopgetsd60idinfor)
* [`releaseSd60Id()`](#releasesd60id)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### initSd60Id(...)

```typescript
initSd60Id(Sd60IdInforCallBack: Sd60IdInforCallBack) => any
```

初始化SD60ID身份证设备读取

| Param                     | Type                                               |
| ------------------------- | -------------------------------------------------- |
| **`Sd60IdInforCallBack`** | <code>(Sd60IdInfor: Sd60IdInfor) =&gt; void</code> |

**Returns:** <code>any</code>

--------------------


### getSd60IdInfor(...)

```typescript
getSd60IdInfor(Sd60IdInforParameter?: Sd60IdInforParameter | undefined) => any
```

获取SD60ID身份证设备读取信息

| Param                      | Type                                                                  |
| -------------------------- | --------------------------------------------------------------------- |
| **`Sd60IdInforParameter`** | <code><a href="#sd60idinforparameter">Sd60IdInforParameter</a></code> |

**Returns:** <code>any</code>

--------------------


### stopGetSd60IdInfor()

```typescript
stopGetSd60IdInfor() => any
```

停止获取SD60ID身份证设备读取信息

**Returns:** <code>any</code>

--------------------


### releaseSd60Id()

```typescript
releaseSd60Id() => any
```

释放设备

**Returns:** <code>any</code>

--------------------


### Interfaces


#### Sd60IdInforParameter

获取SD60ID身份证设备读取信息参数

| Prop           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| **`Loop`**     | <code>boolean</code> | 循环读取        |
| **`Interval`** | <code>number</code>  | 循环间隔，毫秒     |

</docgen-api>
npm package: @mqn/capacitor-plugin-tts
Description: Capacitor的Android平台TTS插件
Author: MQN
Latest version: 0.0.7

# @mqn/capacitor-plugin-tts

Capacitor的Android平台TTS插件

## Install

```bash
npm install @mqn/capacitor-plugin-tts
npx cap sync
```

## API

<docgen-index>

* [`init(...)`](#init)
* [`speak(...)`](#speak)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### init(...)

```typescript
init(options: InitOptions) => Promise<void>
```

初始化

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code><a href="#initoptions">InitOptions</a></code> |

--------------------


### speak(...)

```typescript
speak(options: SpeakOptions) => Promise<void>
```

合成语音

| Param         | Type                                                  |
| ------------- | ----------------------------------------------------- |
| **`options`** | <code><a href="#speakoptions">SpeakOptions</a></code> |

--------------------


### Interfaces


#### InitOptions

初始化选项

| Prop         | Type                | Description |
| ------------ | ------------------- | ----------- |
| **`Engine`** | <code>string</code> | 语音引擎包名      |


#### SpeakOptions

语音合成选项

| Prop            | Type                          | Description |
| --------------- | ----------------------------- | ----------- |
| **`Text`**      | <code>string</code>           | 语音文本        |
| **`Pitch`**     | <code>number</code>           | 音调          |
| **`Rate`**      | <code>number</code>           | 语音速率        |
| **`QueueMode`** | <code>'ADD' \| 'FLUSH'</code> | 队列模式        |

</docgen-api>
npm package: @mqn00/koishi-plugin-maimai
Description: 舞萌 DX 功能插件；调整b50样式
Author: mqnu00
Latest version: 2.2.10

# koishi-plugin-maimai

[![npm](https://img.shields.io/npm/v/@mqn00/koishi-plugin-maimai?style=flat-square)](https://www.npmjs.com/package/@mqn00/koishi-plugin-maimai)

# 依赖项目

[水鱼查分器](https://github.com/Diving-Fish/maimaidx-prober) 查B50 歌曲信息

[Sakura / 百合咲ミカ
](https://bot.yuzuchan.moe/api/maimaiDX.html) 用于获取别名

# 版本日志

v2.2.8: `yuzu` 别名API 适配；`b50` 显示格式优化（DX和标准，排列） 

v2.2.9: 调整 b50 样式 美化为玻璃透明风格

v2.2.10: 测试环境判断错误 修复
npm package: @mqs24d/react-toolkit
Description: - createReducer: an adoption of https://github.com/reduxjs/redux-toolkit createSlice function for useReducer - createReducerContext: wraps createReducer into a context - createSearchParams: heavily inspired by createReducer to handle search/query params
Author: Thomas Pfaff
Latest version: 1.0.0

# Collection of react utilities

- createReducer: an adoption of https://github.com/reduxjs/redux-toolkit createSlice function for useReducer
- createReducerContext: wraps createReducer into a context
- createSearchParams: heavily inspired by createReducer to handle search/query params
- shallowEquals (copy of redux shallowEqual)
npm package: @mqschwanda/compose
Description: `compose(...functions)`
Latest version: 0.0.1

# compose

`compose(...functions)`

Composes functions from right to left.

This is a functional programming utility, and is included in Redux as a convenience.  
You might want to use it to apply several functions in a row.

#### Arguments

1. (*arguments*): The functions to compose. Each function is expected to accept a single parameter. Its return value will be provided as an argument to the function standing to the left, and so on. The exception is the right-most argument which can accept multiple parameters, as it will provide the signature for the resulting composed function.

#### Returns

(*Function*): The final function obtained by composing the given functions from right to left.

#### Example

This example demonstrates how to use `compose` to enhance a [store](Store.md) with [`applyMiddleware`](applyMiddleware.md) and a few developer tools from the [redux-devtools](https://github.com/reduxjs/redux-devtools) package.

```js
import compose from '@mqschwanda/compose';
import { connect } from 'redux'; // redux connect container
import passthrough from 'react-passthrough'; // react passthrough container

const container = compose(
  connect((store) => ({ store })),
  passthrough({ omit: ['dispatch'] }),
);
```

#### Tips

* All `compose` does is let you write deeply nested function transformations without the rightward drift of the code. Don't give it too much credit!
npm package: @mqschwanda/curry
Description: ```jsx /** * @name curry * @type {Function} * @description recursive autocurry * @since 0.0.1 * @example curry(function, arg1, arg2)(arg3)(arg4, arg5) */ export const curry = (func, array = []) => (...args) => (arr) => ( arr.length === func.length ? func(
Latest version: 0.0.1

# curry

```jsx
/**
 * @name curry
 * @type {Function}
 * @description recursive autocurry
 * @since 0.0.1
 * @example curry(function, arg1, arg2)(arg3)(arg4, arg5)
 */
 export const curry = (func, array = []) => (...args) => (arr) => (
   arr.length === func.length
     ? func(...arr)
     : curry(func, arr)
 )([...array, ...args]);

 // export const handleCurry = (curry, func, array) =>
 //   array.length === func.length
 //     ? func(...array)
 //     : curry(func, array);
 //
 // export const spreader = (curry, func, array) =>
 //   (...args) => handleCurry(curry, func, [...array, ...args]);
 //
 // export const curry = (func, array = []) => spreader(curry, func, array);

 export default curry;
```
npm package: @mqschwanda/jest-scripts
Description: [![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo) ![License](https://img.shields.io/npm/l/express.svg) [![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/rollup-con
Latest version: 0.0.1

# rollup-config-default

[![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo)
![License](https://img.shields.io/npm/l/express.svg)
[![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/rollup-config-default.svg)](https://www.npmjs.com/package/@mqschwanda/rollup-config-default)
npm package: @mqschwanda/rollup
Description: [![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo) ![License](https://img.shields.io/npm/l/express.svg) [![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/rollup.svg
Latest version: 0.0.1

# rollup

[![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo)
![License](https://img.shields.io/npm/l/express.svg)
[![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/rollup.svg)](https://www.npmjs.com/package/@mqschwanda/rollup)
npm package: @mqschwanda/rollup-scripts
Description: scripts used by @mqschwanda/rollup
Latest version: 0.0.17

# rollup-scripts

This package includes scripts used by [@mqschwanda/rollup](https://github.com/mqschwanda/node-monorepo/tree/master/packages/rollup)

[![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo)
![License](https://img.shields.io/npm/l/express.svg)
[![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/rollup-scripts.svg)](https://www.npmjs.com/package/@mqschwanda/rollup-scripts)


All of the [rollup cli](https://rollupjs.org/guide/en#command-line-reference) flags and configurations are able to be used by appending them to the end of any rollup script.

### Build

```bash
rollup-scripts build
```

Builds the package for production using the rollup cli. It bundles javascript in production mode and optimizes the build for the best performance.

Your package is ready to be used.
npm package: @mqschwanda/safe-get-nested-object
Description: ### get
Latest version: 0.0.4
Deprecated: WARNING: This project has been renamed to @mqschwanda/safe-get. This package will no longer be updated.

# safe-get-nested-object


### get

##### source

```jsx
/**
 * safely access an object's deeply nested values
 * @param  {[String]} path the chain of keys we are trying to access
 * @param  {Object} object the object we want to retrieve the values from
 * @return {Object, Array, String} nested value
 */
const get = path => object =>
  path.reduce((xs, x) => (xs && xs[x]) ? xs[x] : null, object);
```

##### usage

```jsx
import get from '@mqschwanda/safe-get-nested-object';

const object = { nested: { msgs: ['it worked!'] } };
const getMsg = get(['nested', 'msgs', 0]);

console.log(getMsg(object)); // --> 'it worked!'
console.log(getMsg({})); // --> null
```
npm package: @mqschwanda/scripts
Description: [![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo) ![License](https://img.shields.io/npm/l/express.svg) [![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/scripts.sv
Latest version: 0.0.13

# scripts

[![Build Status](https://travis-ci.org/mqschwanda/node-monorepo.svg?branch=master)](https://travis-ci.org/mqschwanda/node-monorepo)
![License](https://img.shields.io/npm/l/express.svg)
[![NPM Downlaods](https://img.shields.io/npm/dt/@mqschwanda/scripts.svg)](https://www.npmjs.com/package/@mqschwanda/scripts)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@mqschwanda/scripts.svg)](https://github.com/mqschwanda/node-monorepo/tree/master/packages/scripts)
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@mqschwanda/scripts.svg)](https://github.com/mqschwanda/node-monorepo/tree/master/packages/scripts)