open-index/open-npm huggingface dataset:
npm package: @lhorie/rollup-plugin-multi-entry
Description: Allows specifying multiple entry points with rollup.
Author: Brian Donovan
Latest version: 2.0.1

# rollup-plugin-multi-entry

Use multiple entry points in your [rollup](https://github.com/rollup/rollup)
bundle. This is particularly useful for tests, but can also be used to package
a library. The exports from all the entry points will be combined, e.g.

```js
// a.js
export const a = 1;

// b.js
export const b = 2;

// c.js
export const c = 3;
```

Using all three files above as entry points will yield a bundle with exports for
`a`, `b`, and `c`.

## Install

```
$ npm install [--save-dev] rollup-plugin-multi-entry
```

## Usage

This plugin requires at least v0.25.4 of rollup. In `rollup.config.js`:

```js
import multiEntry from 'rollup-plugin-multi-entry';

export default {
  input: 'test/**/*.js',
  plugins: [multiEntry()]
};
```

The `entry` above is the simplest form which simply takes a glob string. If you
wish, you may pass an array of glob strings or, for finer control, an object
with `include` and `exclude` properties each taking an array of glob strings,
e.g.

```js
// The usual rollup entry configuration works.
export default {
  input: 'just/one/file.js',
  plugins: [multiEntry()]
  // ...
};

// As does a glob of files.
export default {
  input: 'a/glob/of/files/**/*.js',
  plugins: [multiEntry()]
  // ...
};

// Or an array of files and globs.
export default {
  input: ['an/array.js', 'of/files.js', 'or/globs/**/*.js'],
  plugins: [multiEntry()]
  // ...
};

// For maximum control, arrays of globs to include and exclude.
export default {
  input: {
    include: ['files.js', 'and/globs/**/*.js', 'to/include.js'],
    exclude: ['those/files.js', 'and/globs/*.to.be.excluded.js']
  },
  plugins: [multiEntry()]
  // ...
};
```

Sometimes you may not want to export anything from the rolled-up bundle. In
such cases, use the `exports: false` option like so:

```js
export default {
  input: 'src/*.js',
  plugins: [multiEntry({ exports: false })]
};
```

## License

MIT
npm package: @lhp96/filter-ui
Description: 基于Vite+TS+Vue3的定制化组件库
Author: luhuipeng
Latest version: 1.0.4

<br/>

<p align="center">
  <img src="https://lhp96.oss-cn-hangzhou.aliyuncs.com/lhp/Filter-UI-Logo.png" alt="Filter-UI" style="width:200px;"/>
</p>

<p align="center">
基于 Vite 的组件库开发实践，包含项目启动，组件文档，代码规范，单元测试和自动部署等内容。
</p>

<p align="center">
  <img src="https://img.shields.io/npm/l/booker-ui" />
  <img src="https://img.shields.io/bundlephobia/min/booker-ui" />
  <img src="https://img.shields.io/github/workflow/status/juetan/vite-ui-practice/CI?label=test" />
  <img src="https://img.shields.io/github/workflow/status/juetan/vite-ui-practice/Publish%20Booker-UI%20To%20Npm" />
  <img src="https://img.shields.io/npm/v/booker-ui" />
</p>

## 功能

- ⚡ 基于 Vite+Vue3，快速开发和构建强壮的应用
- 🎨 使用原子化 CSS 构建方案
- ✨ 使用 Vitest 作为测试框架，保障功能稳定性
- 🔖 使用 Typescript，提供静态类型检查和类型提示
- 💎 使用 Github Action 持续集成，自动部署和发布
- 🎲 使用 Husky 和 Eslint 检查代码规范，保障良好的代码样式

## 快速开始

1. 安装依赖

```shell
# npm安装
npm i @lhp96/filter-ui

# pnpm安装
pnpm add @lhp96/filter-ui
```

2. 引入依赖

```ts
import FilterUI from "filter-ui";
import "filter-ui/dist/assets/entry.css";

createApp(App).use(FilterUI).mount("#app");
```

3. 在组件中使用

```vue
<template>
  <div>
    <JSXButton color="red">测试按钮</JSXButton>
  </div>
</template>
```

## 参考链接

- [基于 Vite 的组件库工程化实战 - 掘金小册](https://juejin.cn/book/7117582869358182403)
- [Vite 官网](https://vitejs.dev/)
- [Vitepress 官网](https://vitepress.vuejs.org)
- [Vue 官网](https://vuejs.org/)
npm package: @lhpalacio/nestjs-problem-details
Description: Problem Details for Nest.JS Applications
Author: Luiz Henrique Gomes Palacio
Latest version: 0.0.4

# nestjs-problem-details

This library is an implementation of [RFC 7807: Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) for usage with [Nest](https://github.com/nestjs/nest).

## Installation

```bash
npm install @lhpalacio/nestjs-problem-details
```
npm package: @lhrc/sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 5.0.6

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @lhs20251027/csutil
Description: A TypeScript demo package published to npm // 包名（必须唯一，用 scope 避免冲突） // 版本号 // CommonJS 入口// ES 模块入口// 类型声明文件入口 // 发布时包含的文件（仅 dist 目录）// 打包命令 // 发布前自动执行打包
Latest version: 1.0.2

ERROR: No README data found!
npm package: @lhs7/wheel-selector
Description: wheelselector-npm
Author: LeeHanSeong7
Latest version: 0.2.6

## Installation

```bash
npm i @lhs7/wheel-selector
```

## Usage/Examples

<img src="https://github.com/LeeHanSeong7-npm/WheelSelector/blob/main/example.gif?raw=true" height="400">

```jsx
import { MouseWheelSelector } from "@lhs7/wheel-selector";
import { loadList } from "./loadList"

//	•	Activate Selector With Mouse: Right-click after a left-click.
//	•	Deactivate Selector: Release the mouse button (mouseup) or call deactivateSelector
let wheelSelector = new MouseWheelSelector();
function load() {
	loadList().then((items: CursorItem[]) => {
		items = items.map((item: CursorItem) => {
			return {
				name: item.name,
				callback: () => {
					alert(item.name);
				},
			};
		});

		wheelSelector.updateItems(items as any);
	});
}

load();

chrome.storage.onChanged.addListener(load);

```

## options

```jsx
interface SelectorOptions {
	// Selector Item List
	items?: {
		name: string, // Item name displayed in the selector
		callback: Function, // Callback executed when the item is selected
	}[];
	outerDistance?: number; // Distance between the outer line and the center
	innerDistance?: number; // Distance between the inner line and the center
	theme?: {
		defaultColor?: string, // Default color of items
		selectedColor?: string, // Highlighted color for the selected item
	};
}

interface MouseSelectorOptions extends SelectorOptions {
	activateKey?: string | null; // KeyboardEvent.key for MouseWheelSelector key activate
}
```

## Plain WheelSelector for Custom WheelSelector

```jsx
let options: SelectorOptions = {
	items: [],
	outerDistance: 200,
	innerDistance: 100,
	theme: {
		defaultColor: "rgba(0, 0, 0, 0.7)",
		selectedColor: "rgba(125, 220, 0, 0.7)",
	},
};
let wheelSelector = new WheelSelector(options);

const centerX = window.innerWidth / 2;
const centerY = window.innerHeight / 2;

wheelSelector.activateSelector({ x: centerX, y: centerY }); // Activate selector and add canvas to document

wheelSelector.updateItems([
	{ name: "1", callback: () => {} },
	{
		name: "2",
		callback: () => {
			console.log("test");
		},
	},
]); // Update item list and redraw

wheelSelector.selectItem(1); // Select item with index 1 => { name: "2" }

wheelSelector.redraw(); // Redraw manually

wheelSelector.triggerSelected(); // Execute callback of the selected item

wheelSelector.selectItem(null); // Unselect item

wheelSelector.deactivateSelector(); // Deactivate selector and remove canvas
```

## License

[MIT licensed](./LICENSE).
npm package: @lhvision/helpers
Description: 一些简单实用的工具函数
Author: lhvision
Latest version: 2.1.14

<div align="center">

[![Ameth](https://raw.githubusercontent.com/lhvision/lhvision/main/images/Ameth.png)](https://github.com/lhvision/helpers)

# @lhvision/helpers

_✨ 一些简单的工具函数封装 ✨_

</div>

## Install

```bash
pnpm add @lhvision/helpers
```

**IMPORTANT:** 从 2.0 开始移除了 CJS 产物只支持 ESM

## helpers

默认导出为 `browser.js` `shared.js` 所有函数

```ts
import { } from '@lhvision/helpers'
import { } from '@lhvision/helpers/browser'
import { } from '@lhvision/helpers/shared'
import { } from '@lhvision/helpers/upload'
```

### browser.js

工具函数集合，用于浏览器环境。

#### 请求处理

- `requestManager` - 单例请求管理器
- `request` - 请求函数

#### 全屏操作

- `exitFullScreen` - 退出全屏
- `getFullScreenElement` - 获取全屏元素
- `isFullScreen` - 判断是否全屏
- `requestFullScreen` - 请求全屏
- `toggleFullScreen` - 切换全屏状态
- `onFullScreenChange` - 监听全屏变化
- `offFullScreenChange` - 移除全屏监听

#### 剪贴板

- `copyText` - 复制文本
- `readText` - 读取剪贴板文本
- `pasteImage` - 粘贴图片

#### 下载

- `downloadBlob` - 下载 Blob 数据
- `downloadUrl` - 下载 URL
- `streamDownload` - 流式下载

#### 其他

- `watchVisibility` - 监听页面可见性
- `TabCommunication` - 使用 BroadcastChannel 跨标签页通信
- `getTokenPayload` - 获取 Token 载荷
- `isTokenExpiringSoon` - 检查 Token 是否即将过期
- `hexToRgb` - 十六进制转 RGB
- `rgbToHsl` - RGB 转 HSL
- `rgbToHsv` - RGB 转 HSV
- `AudioVisualizer` - 音频可视化工具
- `CenterTextRenderer` - 居中文本渲染器
- `getEyeDropperColor` - 获取屏幕取色器颜色
- `canvasToImage` - 将 Canvas 转换为高清图片
- `setTheme` - 设置主题 dark 或 light
- `initThemeListener` - 初始化主题监听器，设置 dark 或 light 主题
- `startViewTransition` - document.startViewTransition api
- `saveFileInBrowser` - 保存文件到磁盘
- `openFileInBrowser` - 从磁盘读取文件

### shared.js

通用工具函数。

#### 流处理

- `createBaseStream` - fetch response.body..getReader() ReadableStreamDefaultReader 基础流处理
- `createBinaryStream` - 二进制流处理，使用迭代器的方式实现，for await (const chunk of createBinaryStream(response))
- `createTextStream` - 文本流处理，使用迭代器的方式实现
- `createSSEStream` - SSE 流处理，ai 对话 api 返回处理函数，使用迭代器的方式实现
- `processByte` - 字节处理

#### 工具函数

- `debounce` - 防抖
- `throttle` - 节流
- `pLimit` - 并发限制

#### 日期处理

- `getTimeRemaining` - 计算两个时间点之间的时间差
- `formatCountdown` - 格式化时间差显示
- `getDayOfYear` - 某一个日期在当年的第几天
- `getMonthCalendar` - 获取月历网格数据

#### 其他

- `AsyncLRUCache` - 异步 LRU 缓存
- `LRUCache` - LRU 缓存
- `eventBus` - 单例事件总线，可以实现在响应拦截器中路由跳转等功能
- `eventBusPromise` - 简单的单发布订阅模式
- `singleton` - 使用 Proxy 代理模式实现单例模式

### upload.js

文件上传相关功能，哈希计算功能基于 [hash-wasm](https://github.com/Daninet/hash-wasm) 实现。

#### 哈希计算

- `initHashWASM` - 初始化 WASM
- `calculateMD5` - 计算 MD5
- `calculateStreamMD5` - 流式计算大文件 MD5
- `calculateMD5WithWorker` - Worker 方式计算 MD5
- `calculateLargeFileMD5` - 智能选择方式计算大文件 MD5

#### 分片处理

- `calculateChunksMD5` - 计算文件分片 MD5
- `calculateChunksMD5WithWorkers` - Worker 并行计算分片 MD5

#### 上传流程

- `createFileHashStream` - 创建文件哈希计算流
- `hashStreamToUploadStream` - 哈希流转上传流
- `uploadFileInChunks` - 通用分片上传流程

## License

[MIT](./LICENSE) License &copy; 2024-PRESENT [lhvision](https://github.com/lhvision)
npm package: @lhvision/vscode-settings
Description: A tool to automatically add VSCode settings to your project
Author: lhvision
Latest version: 1.3.4

<div align="center">

  [![Ameth](https://raw.githubusercontent.com/lhvision/lhvision/main/images/Ameth.png)](https://github.com/lhvision/vscode-settings)

# @lhvision/vscode-settings

_✨ 基于 [antfu/vscode-settings](https://github.com/antfu/vscode-settings) 用于自动加载一些 VSCode 配置文件 ✨_  

</div>

<div align="center">

  [![MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/lhvision/vscode-settings?tab=MIT-1-ov-file)
  [![extensions](https://img.shields.io/badge/vscode-extensions-green)](./.vscode/extensions.json)
  [![MIT](https://img.shields.io/badge/vscode-code--snippets-green)](./.vscode/global.code-snippets)
  [![MIT](https://img.shields.io/badge/vscode-settings-green)](./.vscode/settings.json)
  
</div>

# 用法

### 快速使用
```bash
npx @lhvision/vscode-settings
```

### 手动安装

```bash
npm i -g @lhvision/vscode-settings
```

### Flags
```bash
--not-backup, -n      Do not backup the original files
--help, -h            Show this help message
```