open-index/open-npm huggingface dataset:
npm package: @qht/editor
Description: 富文本编辑器
Author: qihaotian
Latest version: 0.0.1-beta.47

安装

```bash
   npm install @hb/hb-editor -s
```

开始
```vue
<template>
  <div id="hdf-editor"></div>
</template>
<script>
  import HdfEditor from '@hb/hb-editor'
  let editor
  export default {
    mounted() {
      editor = new HdfEditor('#hdf-editor')
    }
  }
</script>

```

配置
同[quill](https://kang-bing-kui.gitbook.io/quill/wen-dang-document/api/content)

我们自己的配置
```typescript
userId: number    // 用户id
userType: string  // 用户类型，默认值是 "user"， 也可以是药企用户之类的
hostType: string  // 业务类型, 默认值是 "doctor"(医生圈)，也可以是 "health"(健康号)
env: string       // 编辑器宿主环境，默认值是 "web", 也可以是"app"
```


事件

```
// 监听编辑器内部的抛错
editor.on('error', function(err) {
  // 处理错误逻辑
})
```
npm package: @qi-mobile/miniapp-tunnel-client
Description: ## Overview
Latest version: 1.1.4

# MiniApp Tunnel Client

## Overview

MiniApp Tunnel Client is a command-line tool that creates tunnels to expose your local development servers (running on `localhost`) to the internet. It's perfect for _testing MiniApp locally_.

## Installation

### Via npm (global)

```bash
npm install -g @qi-mobile/miniapp-tunnel-client
```

### Via pnpm (global)

```bash
pnpm install -g @qi-mobile/miniapp-tunnel-client
```

### Via bun (global)

```bash
bun install -g @qi-mobile/miniapp-tunnel-client
```

You can now use the `miniapp-tunnel` command to create tunnels to your local development servers.

## Usage

### `miniapp-tunnel login`

Authenticate with Miniapp Tunnel Server.

```bash
miniapp-tunnel login
```

You'll be prompted to enter:

- Email
- Password (hidden input)

### `miniapp-tunnel tunnel <port> [options]`

Create a tunnel to expose a local development server.

```bash
miniapp-tunnel tunnel <port>
```

**Arguments:**

- `<port>` - The local port number to tunnel (required)

**Options:**

- `--sub <subdomain>` - Request a custom subdomain (e.g., `myapp`)

**Examples:**

```bash
# Tunnel port 3000 with a random subdomain
miniapp-tunnel tunnel 3000
```

`After running the command, you will be able to access your local development server at https://<subdomain>.miniapp-proxy.cc`'

```bash
# Tunnel port 8080 with a custom subdomain
miniapp-tunnel tunnel 8080 --sub myapp
```

`After running the command, you will be able to access your local development server at https://myapp.miniapp-proxy.cc`

### `miniapp-tunnel list`

List all tunnels.

```bash
miniapp-tunnel list
```

### `miniapp-tunnel delete <subdomain>`

Delete a tunnel.

```bash
miniapp-tunnel delete <subdomain>
```

### `miniapp-tunnel restart <subdomain>`

Restart a tunnel.

```bash
miniapp-tunnel restart <subdomain>
```

### `miniapp-tunnel whoami`

Show the current user.

```bash
miniapp-tunnel whoami
```

### `miniapp-tunnel logout`

Logout from Miniapp Tunnel Server.

```bash
miniapp-tunnel logout
```

### `miniapp-tunnel version`

Show the current version.

```bash
miniapp-tunnel version
```

### `miniapp-tunnel help`

Show the help message.

```bash
miniapp-tunnel help
```

## Troubleshooting

### "Not logged in" error

Make sure you've run `miniapp-tunnel login` before creating a tunnel:

## Important Notes

- Make sure to run the development server with a `--host` flag to make it accessible from the internet.
- Stale tunnels are automatically closed after a set period of time of inactivity, feel free to restart it if you need to.
npm package: @qianduankuang/image-merge-pro
Description: High-performance image merging library supporting Base64, URL, Blob, custom XY, stacking, horizontal/vertical layout, and transparent output.
Latest version: 1.0.0


# @qianduankuang/image-merge-pro

High-performance image merging library supporting Base64, URL, Blob, custom XY, stacking, horizontal/vertical layout, and transparent output.

## Features
- Merge any two images
- Support PNG/JPG/WebP
- Custom X/Y
- Horizontal / Vertical / Overlap
- Full TypeScript support
- Browser compatible
- Fully customizable output size

## Install
```sh
npm install @qianduankuang/image-merge-pro
```

## Usage
```ts
import { mergeImages } from "@qianduankuang/image-merge-pro";

const result = await mergeImages({
  images: [
    { src: img1, x: 0, y: 0 },
    { src: img2, x: 200, y: 0 }
  ],
  width: 600,
  height: 300
});
```

## License
MIT
npm package: @qianfuv/paper-scanner-mcp
Description: MCP server for Paper Scanner
Latest version: 1.2.0

# Paper Scanner MCP

[Paper Scanner](https://github.com/QianFuv/Paper-Scanner) 的 MCP Server —— 学术期刊索引与追踪系统。通过 stdio 提供文章搜索、元数据查询、每周更新和收藏管理等工具。

## 快速开始

### 使用 npx（无需安装）

```json
{
  "command": "npx",
  "args": ["-y", "@qianfuv/paper-scanner-mcp"],
  "env": {
    "PAPER_SCANNER_API_URL": "https://your-api-host",
    "PAPER_SCANNER_API_TOKEN": "your-access-token"
  }
}
```

### 全局安装

```bash
npm install -g @qianfuv/paper-scanner-mcp
```

```json
{
  "command": "paper-scanner-mcp",
  "env": {
    "PAPER_SCANNER_API_URL": "https://your-api-host",
    "PAPER_SCANNER_API_TOKEN": "your-access-token"
  }
}
```

## 环境变量

| 变量 | 默认值 | 说明 |
| --- | --- | --- |
| `PAPER_SCANNER_API_URL` | `http://localhost:8000` | Paper Scanner 后端地址 |
| `PAPER_SCANNER_API_TOKEN` | — | **必填。** 用于 API 认证的 Bearer Token |
| `PAPER_SCANNER_DB` | — | 默认数据库名，自动附加到支持 `db` 参数的请求 |

所有 API 端点均需要认证，Token 会作为 `Bearer` 头随每个请求发送。可在 Paper Scanner 设置页面中生成。

## 工具列表

### 元数据

| 工具名 | 说明 |
| --- | --- |
| `list_databases` | 列出可用的 SQLite 数据库 |
| `list_areas` | 列出指定数据库的研究领域 |
| `list_years` | 列出指定数据库的发表年份统计 |

### 期刊

| 工具名 | 说明 |
| --- | --- |
| `list_journals` | 列出指定数据库中的期刊 |

### 文章

| 工具名 | 说明 |
| --- | --- |
| `search_articles` | 搜索文章，支持领域、日期、期刊、关键词、开放获取等过滤 |
| `get_article` | 按 ID 获取单篇文章 |

### 每周更新

| 工具名 | 说明 |
| --- | --- |
| `get_weekly_updates` | 获取全库每周新增文章摘要 |

### 收藏

| 工具名 | 说明 |
| --- | --- |
| `list_folders` | 列出当前用户的收藏夹 |
| `add_favorite` | 向指定文件夹添加文章 |
| `remove_favorite` | 从指定文件夹移除文章 |

## API 路由映射

| MCP 工具 | 后端路由 |
| --- | --- |
| `list_databases` | `GET /api/meta/databases` |
| `list_areas` | `GET /api/meta/areas` |
| `list_years` | `GET /api/years` |
| `list_journals` | `GET /api/journals` |
| `search_articles` | `GET /api/articles` |
| `get_article` | `GET /api/articles/{article_id}` |
| `get_weekly_updates` | `GET /api/weekly-updates` |
| `list_folders` | `GET /api/favorites/folders` |
| `add_favorite` | `POST /api/favorites/folders/{folder_id}/articles` |
| `remove_favorite` | `DELETE /api/favorites/folders/{folder_id}/articles/{article_id}` |

## 开发

```bash
cd mcp
npm install
npm run build
```

源码在 `src/`，编译输出在 `dist/`。工具注册在 `src/tools/`，API 客户端在 `src/client.ts`。

## 许可

MIT