open-index/open-npm huggingface dataset:
npm package: @super-transfer/webtorrent-hybrid
Description: Streaming torrent client
Author: WebTorrent, LLC
Latest version: 4.0.3

# webtorrent-hybrid [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

[travis-image]: https://img.shields.io/travis/webtorrent/webtorrent-hybrid/master.svg
[travis-url]: https://travis-ci.org/webtorrent/webtorrent-hybrid
[npm-image]: https://img.shields.io/npm/v/webtorrent-hybrid.svg
[npm-url]: https://npmjs.org/package/webtorrent-hybrid
[downloads-image]: https://img.shields.io/npm/dm/webtorrent-hybrid.svg
[downloads-url]: https://npmjs.org/package/webtorrent-hybrid
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com

### Streaming torrent client (with WebRTC support in Node.js)

In node.js, the `webtorrent` package only connects to normal TCP/UDP peers, not WebRTC peers. If you want to connect to all types of peers, including WebRTC peers, from node.js, you need to use this package (`webtorrent-hybrid`).

## Install

To install WebTorrent:

```bash
npm install webtorrent-hybrid
```

To install a `webtorrent-hybrid` command line program, run:

```bash
npm install webtorrent-hybrid -g
```

## Usage

`webtorrent-hybrid` has the same command line interface (CLI) and module API as
[`webtorrent`](https://github.com/webtorrent/webtorrent). Just `require('webtorrent-hybrid')`
instead of `require('webtorrent')`.

See the [WebTorrent docs](https://webtorrent.io/docs).

## License

MIT. Copyright (c) [Feross Aboukhadijeh](https://feross.org) and [WebTorrent, LLC](https://webtorrent.io).
npm package: @super-validator/core
Description: A customizable lightweight schema validator for NodeJS that is designed for use with both frontend and backend projects.
Author: Robert Harbison
Latest version: 0.1.1

## Documentation

View the documentation [here](https://robert-harbison.github.io/super-validator/).

## Issues / Feature Requests

If you have any feature requests or have any issues please post them [here](https://github.com/robert-harbison/super-validator/issues).

## Contributing

If you would like to contribute to this project in terms of code please see our [contributing](https://github.com/robert-harbison/super-validator/blob/main/CONTRIBUTING.md) page.

## Versioning

We use [SemVer](https://semver.org/) as our versioning standard.

## License

Distributed under the MIT License. See [LICENSE](https://github.com/robert-harbison/super-validator/blob/main/LICENSE) for more information.
npm package: @super-zuo/zuo-batch
Description: Million-level batch processing. by super-zuo
Author: super-zuo
Latest version: 0.0.1


## 📦 安装

```bash
npm install @super-zuo/zuo-batch
# 或
yarn add @super-zuo/zuo-batch


import { batch } from '@super-zuo/zuo-batch';

// Simulate an async processor (e.g., DB insert, API call)
const uploadBatch = async (items: string[]) => {
  console.log(`Uploading ${items.length} items...`);
  await new Promise(r => setTimeout(r, 100)); // mock network delay
  return items.map(item => ({ id: item, status: 'ok' }));
};

// Generate 1M mock IDs
const millionItems = Array.from({ length: 1_000_000 }, (_, i) => `item_${i}`);

// ✅ Smart batching: 10k per batch, max 10 concurrent, 50ms delay between batches
const results = await batch(millionItems, uploadBatch, {
  batchSize: 10_000,
  concurrency: 10,
  delay: 50,
  onProgress: (processed, total) => {
    const percent = ((processed / total) * 100).toFixed(1);
    console.log(`✅ ${processed}/${total} (${percent}%)`);
  }
});

console.log('✅ All done!', results.length); // 1,000,000
npm package: @super-zuo/zuo-page
Description: One-click full pagination. by super-zuo
Author: super-zuo
Latest version: 0.0.1


## 📦 安装

```bash
npm install @super-zuo/zuo-page
# 或
yarn add @super-zuo/zuo-page


import { page } from '@super-zuo/zuo-page';

// Your API: GET /users?page=1&size=100
const fetchUsers = (page: number, size: number) =>
  fetch(`/api/users?page=${page}&size=${size}`).then(res => res.json());

// ✅ One line to get ALL users (auto-paginate until done)
const allUsers = await page(fetchUsers, { pageSize: 100 });

console.log(allUsers.length); // e.g. 5328
npm package: @super-zuo/zuo-sync
Description: Call async functions like sync! No await, no async — just zuoSync(fn)
Author: super-zuo
Latest version: 0.0.1

# 🚀 @super-zuo/zuo-sync — 让异步消失，让同步归来

> **Call async functions like sync! No `await`, no `async`, just `zuoSync(fn)`**

彻底消除 JS 异步传染性，让你像写同步代码一样调用 `fetch`、`axios`、`api.get()` 等异步函数，**无需改写现有代码结构**，支持取消、缓存、并发控制。

---

## 🌟 特性

- ✅ **无 await/async 传染**：`const user = zuoSync(api.get('/'))`
- ✅ **支持 `AbortController` 取消**
- ✅ **并发控制**：相同请求不重复发起
- ✅ **自动缓存**：默认 1 分钟 TTL
- ✅ **自动重试**：默认 3 次，可配置
- ✅ **TypeScript 支持**：类型安全，智能提示
- ✅ **Class 封装**：支持高级配置与扩展
- ✅ **零依赖**：纯 JS 实现，无第三方库

---


## 📦 安装

```bash
npm install @super-zuo/zuo-sync
# 或
yarn add @super-zuo/zuo-sync


import { zuoSync } from '@super-zuo/zuo-sync'

// 假设这是你的 API 函数
const api = {
  get: (url: string) => fetch(url).then(r => r.json())
}

try {
  // ✅ 直接同步调用！无 await/async
  const user = zuoSync(() => api.get('https://jsonplaceholder.typicode.com/users/1'))
  console.log('User name:', user.name) // ✅ 直接取值！

} catch (err) {
  console.error('请求失败:', err)
}

高级功能（可选）
✅ 取消请求：传入 AbortController.signal
✅ 并发控制：相同 cacheKey 不重复请求
✅ 缓存配置：cacheTTL 控制缓存时间
✅ 自动重试：默认 3 次，可配置
npm package: @super-zuo/zuo-table-scroll
Description: Ant Design Vue 无缝滚动终极方案 — 丝滑如丝、永不卡顿、真暂停、零闪跳，专为大屏设计
Author: super-zuo
Latest version: 0.0.1

# zuo-table-scroll

**Ant Design Vue 终极无缝滚动方案**  
丝滑如丝 · 真暂停 · 零闪跳 · 内存恒定 · GPU 加速  
专为大屏看板、数据可视化、实时排行榜打造

<p align="center">
  <img src="https://github.com/super-zuo/zuo/assets/25210925/xxx-xxx-xxx-demo.gif" alt="zuo-table-scroll demo" width="800"/>
  <br/>
  <a href="https://www.npmjs.com/package/zuo-table-scroll"><img src="https://img.shields.io/npm/v/zuo-table-scroll.svg?style=flat-square" alt="npm version"></a>
  <a href="https://npmjs.com/package/zuo-table-scroll"><img src="https://img.shields.io/npm/dm/zuo-table-scroll.svg?style=flat-square" alt="downloads"></a>
  <a href="https://github.com/super-zuo/zuo/blob/main/packages/zuo-table-scroll/LICENSE"><img src="https://img.shields.io/npm/l/zuo-table-scroll.svg?style=flat-square" alt="license"></a>
</p>

## 为什么选择 zuo-table-scroll？

| 特性                | zuo-table-scroll | 其他方案 |
|---------------------|------------------|---------|
| 真正丝滑（GPU 加速） | Yes             | No 卡顿 |
| 鼠标悬停真暂停       | Yes             | No 假暂停 |
| 无闪跳、无空白       | Yes             | 常见 |
| 内存恒定（只复制一次）| Yes             | 无限追加 |
| 支持动态数据更新     | Yes             | 部分支持 |
| 一行代码集成         | Yes             | 复杂配置 |

## 安装

```bash
npm install zuo-table-scroll
# or
pnpm add zuo-table-scroll
# or
yarn add zuo-table-scroll

<template>
  <a-table
    ref="tableRef"
    :columns="columns"
    :data-source="tableData"
    :pagination="false"
    :scroll="{ y: 600 }"
  />
</template>

<script setup>
import { ref } from 'vue'
import { useSeamlessTableScroll } from 'zuo-table-scroll'

const tableRef = ref()
const tableData = ref([
  { key: 1, name: '张三', score: 99 },
  { key: 2, name: '李四', score: 88 },
  // ...
])

useSeamlessTableScroll(tableRef, tableData, {
  speed: 30,        // 数值越小越快
  pauseOnHover: true
})
</script>

<style scoped>
:deep(.seamless-table-scroll) {
  overflow: hidden !important;
  contain: paint;
}
:deep(.seamless-table-scroll table) {
  transform: translateZ(0);
}
</style>
npm package: @super-zuo/zuo-task
Description: Task orchestration. by super-zuo
Author: super-zuo
Latest version: 0.0.1


## 📦 安装

```bash
npm install @super-zuo/zuo-task
# 或
yarn add @super-zuo/zuo-task


import { task } from '@super-zuo/zuo-task';

//🔥 自动透传上一个结果！函数可选接收 prevResult 作为参数。 
const results = await task()
  .add(() => login('user', 'pass'))          // → { token: 'xxx' }
  .add(({ token }) => fetchProfile(token))   // ← receives prev result
  .add(profile => saveToCache(profile))      // ← receives prev result
  .run(); // [loginRes, profileRes, cacheRes]

console.log(results[1].name); // "Alice"

//🚀 Parallel Execution（并行：独立任务加速）
const [user, posts, stats] = await task()
  .add(() => fetchUser())
  .add(() => fetchPosts())
  .add(() => fetchStats())
  .parallel(); // Runs all at once!