open-index/open-npm huggingface dataset:
npm package: @liangshen/react-desktop
Description: React UI Components for macOS High Sierra and Windows 10
Author: Wang Liang
Latest version: 0.0.5

# <a href="http://reactdesktop.js.org/" target="_blank">![React Desktop](https://rawgit.com/gabrielbull/react-desktop/master/docs/resources/react-desktop.svg "React Desktop")</a>

[![Build Status](https://travis-ci.com/liangshen001/react-desktop.svg?branch=master)](https://travis-ci.com/liangshen001/react-desktop)
[![Code Climate](https://codeclimate.com/github/liangshen001/react-desktop/badges/gpa.svg)](https://codeclimate.com/github/liangshen001/react-desktop)
[![GitHub license](https://img.shields.io/github/license/gabrielbull/react-desktop?style=square)](https://github.com/gabrielbull/react-desktop/blob/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/liangshen001/react-desktop)](https://github.com/liangshen001/react-desktop/stargazers)
[![npm downloads](http://img.shields.io/npm/dt/@liangshen/react-desktop.svg)](https://www.npmjs.org/package/@liangshen/react-desktop)
[![npm version](https://img.shields.io/npm/v/@liangshen/react-desktop.svg)](https://www.npmjs.com/package/@liangshen/react-desktop)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/liangshen001/react-desktop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

React UI Components for macOS High Sierra and Windows 10.

```npm 
npm install react-desktop --save
```

<a href="http://reactdesktop.js.org/demo/" target="_blank">![Demo](https://rawgit.com/gabrielbull/react-desktop/master/docs/resources/demo.svg "Demo")</a>

## Help wanted!

I am looking for developers to help me develop this project. Please submit some ideas in the issues section or some PRs to get this project going. If you are interested, you can become a collaborator on the project. Thanks.

## Contributing

This library has been created to bring a native desktop experience to the web. It works extremely well with tools such as [node-webkit](http://nwjs.io) or [Electron.js](http://electron.atom.io)!

Everyone is welcome to contribute and add more components/documentation whilst following the [contributing guidelines](/CONTRIBUTING.md).

## Documentation

Guides on installation, components and advanced usage are found in the [documentation](http://reactdesktop.js.org).

## Contributors
<a href="https://github.com/gabrielbull/react-desktop/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=gabrielbull/react-desktop" />
</a>
npm package: @liangskyli/axios-request
Description: axios request library applied to clients and nodes
Author: liangsky
Latest version: 0.4.0

# 支持中间件配置的axios请求库
- 基于@liangskyli/request 对axios请求库二次封装
- 支持多端
  - http client
  - nodes

## 安装:
```bash
pnpm add @liangskyli/axios-request
# 安装 peerDependencies
pnpm add axios
```

## 使用

### axiosCreateRequest函数
- 对axios请求库的二次封装，默认没有配置中间件，可以自己灵活配置
- 例子：
```ts
import { axiosCreateRequest } from '@liangskyli/axios-request';

type AxiosCreateRequestFn = (
        config: IRequestConfig<T, CodeKey, MessageKey, CodeKeyType>,
) => Promise<T>;
const request = axiosCreateRequest<
        AxiosCreateRequestFn,
        IRequestConfig<T, CodeKey, MessageKey, CodeKeyType>,
        T
>(initConfig);

// request middlewares
request.middlewares.request.use(loadingMiddleware({}));
```

### axios中间件
#### 1、序列化错误中间件
- axiosSerializedErrorMiddleware 函数类型
  - 继承serializedErrorMiddleware中间件

```ts
<
  CodeKey extends string,
  MessageKey extends string,
>(
  option: AxiosSerializedErrorConfig<CodeKey, MessageKey>,
) => ReturnType<typeof serializedErrorMiddleware>
```

- axiosSerializedErrorMiddleware 函数入参属性

| 属性     | 说明   | 类型                                                | 默认值 |
|--------|------|---------------------------------------------------|-----|
| option | 配置参数 | `AxiosSerializedErrorConfig<CodeKey, MessageKey>` |     |

### axiosRequest函数
- 默认集成loadingMiddleware，showErrorMiddleware，serializedResponseMiddleware，axiosSerializedErrorMiddleware中间件
- 支持自定义中间件的配置
- 例子，具体使用可看测试用例的[使用](./test/axios-request.test.ts)
```ts
import { axiosRequest } from '@liangskyli/axios-request';

const request = axiosRequest({
  loadingMiddlewareConfig: {
    showLoading: showLoadingFn,
    hideLoading: hideLoadingFn,
  },
  ShowErrorMiddlewareConfig: {
    showError: showErrorFn,
  },
});

// 使用
await request({ url: '/test' }).then((value)=>{
  console.log('result value:',value);
  // value返回格式
  /*{
    retCode: '0',
    data: { a: 1 },
    retMsg: undefined,
  }*/
});
```
npm package: @liangskyli/grpc-mock
Description: grpc mock for bff
Author: liangsky
Latest version: 7.0.1

# grpc mock

<p>
  <a href="https://www.npmjs.com/package/@liangskyli/grpc-mock">
   <img alt="preview badge" src="https://img.shields.io/npm/v/@liangskyli/grpc-mock?label=%40liangskyli%2Fgrpc-mock">
  </a>
</p>

> 提供grpc mock数据自动生成和mock服务启动功能，减轻手动编写mock数据代码，mock数据填充默认值。支持mock数据更改时热更新获取新数据。

## 注意
- V7版本开始，仅支持esm版本的使用，不再支持cjs的使用。

## 安装:

```bash
yarn add @liangskyli/grpc-mock --dev
```

如果项目没有安装prettier，需要安装prettier(^2.0.0 || ^3.0.0)
```bash
yarn add prettier --dev
```

## 使用文档

- 基于node.js 实现 grpc mock 数据生成 [文档](docs/gen-grpc-mock.md)
- Mock 数据修改指引 [文档](docs/grpc-mock-modify-guide.md)
- 基于node.js 实现 grpc mock 服务 [文档](docs/grpc-mock-server.md)
npm package: @liangskyli/mock
Description: mockServer for web
Author: liangsky
Latest version: 7.0.1

# http 或 socket mock

<p>
  <a href="https://www.npmjs.com/package/@liangskyli/mock">
   <img alt="preview badge" src="https://img.shields.io/npm/v/@liangskyli/mock?label=%40liangskyli%2Fmock">
  </a>
</p>

> 提供http，socket接口的mock服务功能，mock数据场景化手动编写。支持mock数据更改时热更新获取新数据。

## 注意
- V7版本开始，仅支持esm版本的使用，不再支持cjs的使用。

## 安装:

```bash
yarn add @liangskyli/mock --dev
```

- Mock 数据修改指引 [文档](docs/mock.md)
- 包含 http 和 socket 的mock功能 [文档](docs/http-mock.md)

### 1.1 http mock 代码生成工具

### 安装:

```bash
yarn add @liangskyli/http-mock-gen --dev
```
- [文档](../http-mock-gen/README.md)
npm package: @liangskyli/taro-request
Description: taro request library applied to mini programs
Author: liangsky
Latest version: 0.4.0

# 支持中间件配置的taro请求库
- 基于@liangskyli/request 对taro请求库二次封装
- 支持taro项目多端
  - h5
  - 小程序

## 安装:
```bash
pnpm add @liangskyli/taro-request
# 安装 peerDependencies
pnpm add @tarojs/taro
```

## 使用

### taroCreateRequest函数
- 对taro请求库的二次封装，默认没有配置中间件，可以自己灵活配置
- 例子：
```ts
import { taroCreateRequest } from '@liangskyli/taro-request';

type TaroCreateRequestFn = (
        config: IRequestConfig<T, CodeKey, MessageKey, CodeKeyType>,
) => Promise<T>;
const request = taroCreateRequest<
        TaroCreateRequestFn,
        IRequestConfig<T, CodeKey, MessageKey, CodeKeyType>,
        T
>(initConfig);

// request middlewares
request.middlewares.request.use(loadingMiddleware({}));
```

### taro中间件
#### 1、序列化错误中间件
- taroSerializedErrorMiddleware 函数类型
  - 继承serializedErrorMiddleware中间件

```ts
<
  CodeKey extends string,
  MessageKey extends string,
>(
  option: TaroSerializedErrorConfig<CodeKey, MessageKey>,
) => ReturnType<typeof serializedErrorMiddleware>
```

- taroSerializedErrorMiddleware 函数入参属性

| 属性     | 说明   | 类型                                               | 默认值 |
|--------|------|--------------------------------------------------|-----|
| option | 配置参数 | `TaroSerializedErrorConfig<CodeKey, MessageKey>` |     |

### taroRequest函数
- 默认集成loadingMiddleware，showErrorMiddleware，serializedResponseMiddleware，taroSerializedErrorMiddleware
- 支持自定义中间件的配置
npm package: @liangxiaojian/cli
Description: An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language. See https://midscenejs.com/ for details.
Latest version: 0.28.16

## Documentation

An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @liangxiaojian/core
Description: Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.
Latest version: 0.28.16

## Documentation

Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @liangxiaojian/shared
Description: An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.
Latest version: 0.28.16

## Documentation

An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @liangxiaojian/visualizer
Description: An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.
Latest version: 0.28.16

## Documentation

An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @liangxiaojian/web
Description: Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.
Latest version: 0.28.16

## Documentation

Automate UI actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.