open-index/open-npm huggingface dataset:
npm package: @stream-toolbox/join
Description: Join multiple readable streams (or Buffers) into one readable stream.
Author: haochuan9421
Latest version: 1.0.0

# @stream-toolbox/join

<p>
    <a href="https://www.npmjs.com/package/@stream-toolbox/join" target="_blank"><img src="https://img.shields.io/npm/v/@stream-toolbox/join.svg?style=for-the-badge" alt="version"></a>
    <a href="https://npmcharts.com/compare/@stream-toolbox/join" target="_blank"><img src="https://img.shields.io/npm/dm/@stream-toolbox/join.svg?style=for-the-badge" alt="downloads"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/blob/master/packages/join/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@stream-toolbox/join.svg?style=for-the-badge" alt="license"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/tree/master/packages/join" target="_blank"><img src="https://img.shields.io/node/v/@stream-toolbox/join.svg?style=for-the-badge" alt="node-current"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox" target="_blank"><img src="https://img.shields.io/badge/stream--toolbox-%F0%9F%A7%B0-orange?style=for-the-badge"></a>
</p>

[English](#installation) [中文文档](#安装)

---

> 🔗 Join multiple [readable stream](https://nodejs.org/api/stream.html#readable-streams)s (or [Buffer](https://nodejs.org/api/buffer.html)s) into one readable stream.

## Installation

```bash
npm i @stream-toolbox/join
```

## Quick Start

```js
const join = require("@stream-toolbox/join");
const { createReadStream, createWriteStream } = require("fs");

const readable = join([
  createReadStream("a_file"),
  createReadStream("b_file"),
  createReadStream("c_file")
]);

readable.pipe(createWriteStream("joined_file"));
```

## API

```ts
join(sources: (Buffer | string | Readable)[], separator?: Buffer | string): Readable;
```

- `sources`: An Array contians `Buffer`, `string` or `Readable`, `string` will be treated as `utf-8` encoded.
- `separator`: Optional, can be `Buffer` or `string`, `string` will be treated as `utf-8` encoded.

  ```js
  join(["foo", "bar", "baz"], "_"); // foo_bar_baz
  ```

---

> 🔗 将多个[可读流](https://nodejs.org/api/stream.html#readable-streams)（或 [Buffer](https://nodejs.org/api/buffer.html)）连接成一个可读流。

## 安装

```bash
npm i @stream-toolbox/join
```

## 快速开始

```js
const join = require("@stream-toolbox/join");
const { createReadStream, createWriteStream } = require("fs");

const readable = join([
  createReadStream("a_file"),
  createReadStream("b_file"),
  createReadStream("c_file")
]);

readable.pipe(createWriteStream("joined_file"));
```

## API

```ts
join(sources: (Buffer | string | Readable)[], separator?: Buffer | string): Readable;
```

- `sources`: 一个包含了 `Buffer`, `string` 或 `Readable` 的数组, `string` 按照 `utf-8` 编码处理.
- `separator`: 可选, 类型是 `Buffer` 或 `string`, `string` 按照 `utf-8` 编码处理.

  ```js
  join(["foo", "bar", "baz"], "_"); // foo_bar_baz
  ```
npm package: @stream-toolbox/null
Description: Create a writable stream that will swallow all data, somewhat similar to /dev/null, but with some extra features.
Author: haochuan9421
Latest version: 1.0.0

# @stream-toolbox/null

<p>
    <a href="https://www.npmjs.com/package/@stream-toolbox/null" target="_blank"><img src="https://img.shields.io/npm/v/@stream-toolbox/null.svg?style=for-the-badge" alt="version"></a>
    <a href="https://npmcharts.com/compare/@stream-toolbox/null" target="_blank"><img src="https://img.shields.io/npm/dm/@stream-toolbox/null.svg?style=for-the-badge" alt="downloads"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/blob/master/packages/null/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@stream-toolbox/null.svg?style=for-the-badge" alt="license"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/tree/master/packages/null" target="_blank"><img src="https://img.shields.io/node/v/@stream-toolbox/null.svg?style=for-the-badge" alt="node-current"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox" target="_blank"><img src="https://img.shields.io/badge/stream--toolbox-%F0%9F%A7%B0-orange?style=for-the-badge"></a>
</p>

[English](#installation) [中文文档](#安装)

---

> 🕳️ Create a [writable stream](https://nodejs.org/api/stream.html#writable-streams) that will swallow all data, somewhat similar to [/dev/null](https://en.wikipedia.org/wiki/Null_device), but with some extra features.

## Installation

```bash
npm i @stream-toolbox/null
```

## Quick Start

Read data from readable as fast as possible:

```js
const createNull = require("@stream-toolbox/null");
const { createReadStream } = require("fs");

createReadStream("some_file").pipe(createNull());
```

Read data from readable with speed limit:

```js
const createNull = require("@stream-toolbox/null");
const { createReadStream } = require("fs");

createReadStream("some_file").pipe(createNull(1024)); // 1024 bytes per second
```

## API

```ts
createNull(bytesPerSecond?: number): Writable
```

---

> 🕳️ 创建一个会吞噬所有数据的[可写流](https://nodejs.org/api/stream.html#writable-streams)，有点类似于 [/dev/null](https://en.wikipedia.org/wiki/Null_device)，但多了一些额外的功能。

## 安装

```bash
npm i @stream-toolbox/null
```

## 快速开始

尽可能快地从可读流中读取数据：

```js
const createNull = require("@stream-toolbox/null");
const { createReadStream } = require("fs");

createReadStream("some_file").pipe(createNull());
```

有速度限制的从可读流中读取数据：

```js
const createNull = require("@stream-toolbox/null");
const { createReadStream } = require("fs");

createReadStream("some_file").pipe(createNull(1024)); // 1024 字节每秒
```

## API

```ts
createNull(bytesPerSecond?: number): Writable
```
npm package: @stream-toolbox/replace
Description: Replace the given Buffer in a readable stream with another Buffer.
Author: haochuan9421
Latest version: 1.0.1

# @stream-toolbox/replace

<p>
    <a href="https://www.npmjs.com/package/@stream-toolbox/replace" target="_blank"><img src="https://img.shields.io/npm/v/@stream-toolbox/replace.svg?style=for-the-badge" alt="version"></a>
    <a href="https://npmcharts.com/compare/@stream-toolbox/replace" target="_blank"><img src="https://img.shields.io/npm/dm/@stream-toolbox/replace.svg?style=for-the-badge" alt="downloads"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/blob/master/packages/replace/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@stream-toolbox/replace.svg?style=for-the-badge" alt="license"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox/tree/master/packages/replace" target="_blank"><img src="https://img.shields.io/node/v/@stream-toolbox/replace.svg?style=for-the-badge" alt="node-current"></a>
    <a href="https://github.com/haochuan9421/stream-toolbox" target="_blank"><img src="https://img.shields.io/badge/stream--toolbox-%F0%9F%A7%B0-orange?style=for-the-badge"></a>
</p>

[English](#features) [中文文档](#特点)

---

> 💱 Replace the given [Buffer](https://nodejs.org/api/buffer.html) in a [readable stream](https://nodejs.org/api/stream.html#readable-streams) with another Buffer.

## Features

- Fast 🚀，throughput is about 5GB/s (data is in memory).
- Supports limiting the maximum number of replacements.

## Installation

```bash
npm i @stream-toolbox/replace
```

## Quick Start

```js
const createReplace = require("@stream-toolbox/replace");
const { createReadStream, createWriteStream } = require("fs");

const readable = createReadStream("crlf.text");
const duplex = createReplace("\r\n", "\n"); // replace all '\r\n' in crlf.text with '\n'
const writable = createWriteStream(`lf.text`);

readable.pipe(duplex).pipe(writable);
```

## API

```ts
createReplace(find: string | Buffer, replace: string | Buffer, limit?: number): Duplex
```

If `limit` is not specified, all `find` will be replaced with `replace`, if `limit` is an positive interger, then only the first `limit` `find` will be replaced, the subsequent ones will remain as they are.

---

> 💱 用提供的 [Buffer](https://nodejs.org/api/buffer.html) 替换[可读流](https://nodejs.org/api/stream.html#readable-streams)中的特定 Buffer。

## 特点

- 速度快 🚀，吞吐量大概在 5GB/s (数据在内存中).
- 支持限制最多替换多少次。

## 安装

```bash
npm i @stream-toolbox/replace
```

## 快速开始

```js
const createReplace = require("@stream-toolbox/replace");
const { createReadStream, createWriteStream } = require("fs");

const readable = createReadStream("crlf.text");
const duplex = createReplace("\r\n", "\n"); // 将 crlf.text 中的所有 '\r\n' 替换成 '\n'
const writable = createWriteStream(`lf.text`);

readable.pipe(duplex).pipe(writable);
```

## API

```ts
createReplace(find: string | Buffer, replace: string | Buffer, limit?: number): Duplex
```

如果没有指定 `limit`，所有的 `find` 都将被替换成 `replace`，如果 `limit` 是一个正整数，那么只有前 `limit` 个 `find` 会被替换，后面的将保持原样。
npm package: @stream.ui/react
Description: Primitives for streaming UI - React components for AI-generated interfaces
Author: 0xDecker
Latest version: 0.1.0

# @stream.ui/react

Primitives for streaming UI—React components for AI-generated interfaces.

![streamui banner](https://streamui.dev/streamui-banner.png)

## Documentation

Visit [streamui.dev](https://streamui.dev) to view the documentation.

## Contributing

Please read the [contributing guide](https://github.com/decker-dev/streamui/blob/main/CONTRIBUTING.md).

## License

Licensed under the [MIT license](https://github.com/decker-dev/streamui/blob/main/LICENSE).
npm package: @stream44.studio/encapsulate
Description: ⚠️ **WARNING:** This repository may get squashed and force-pushed if the [GordianOpenIntegrity](https://github.com/Stream44/t44-blockchaincommons.com) implementation must change in incompatible ways. Keep your diffs until the **GordianOpenIntegrity** syst
Latest version: 0.4.0-rc.5
npm package: @stream44.studio/t44-docker.com
Description: <table>   <tr>     <td><a href="https://Stream44.Studio"><img src=".o/stream44.studio/assets/Icon-v1.svg" width="42" height="42"></a></td>     <td><strong><a href="https://Stream44.Studio">Stream44 Studio</a></strong><br/>Open Development Project</td>    
Latest version: 0.1.0-rc.3
npm package: @stream7/draft-js-emoji-plugin
Description: Emoji Plugin for DraftJS
Author: Nik Graf
Latest version: 2.0.6

# DraftJS Emoji Plugin

*This is a plugin for the `draft-js-plugins-editor`.*

This plugin provides consistent Emoji display across all platforms, independent of the host system.

## Usage

```js
import createEmojiPlugin from 'draft-js-emoji-plugin';

const emojiPlugin = createEmojiPlugin();
```
## Advanced Usage

```js
const emojiPlugin = createEmojiPlugin({
  priorityList: {
    ':see_no_evil:': ["1f648"],
    ':raised_hands:': ["1f64c"],
    ':100:': ["1f4af"],
  }
});
// emojis in priorityList will show up after user typed ':'
```
## Importing the default styles

The plugin ships with a default styling available at this location in the installed package:
`node_modules/draft-js-emoji-plugin/lib/plugin.css`.

### Webpack Usage

Follow the below steps to import the css file by using Webpack's `style-loader` and `css-loader`. 

1. Install Webpack loaders: `npm install style-loader css-loader --save-dev`
2. Add the below section to Webpack config (if your Webpack already has loaders array, simply add the below loader object(`{test:foo, loaders:bar[]}`) as an item in the array).

    ```js
    module: {
      loaders: [{
        test: /\.css$/,
        loaders: [
          'style-loader', 'css'
        ]
      }]
    }
    ```

3. Add the below import line to your component to tell Webpack to inject style to your component.

    ```js
    import 'draft-js-emoji-plugin/lib/plugin.css';
    ```
4. Restart Webpack.
npm package: @streamable-finance/sdk-core
Description: SDK Core for building with StreamPay Protocol
Latest version: 0.5.5-rc.9

<h1 align="center">Welcome to @streamable-finance/sdk-core 👋
</h1>
<div align="center">
<p>
  <a href="https://www.npmjs.com/package/@streamable-finance/sdk-core" target="_blank">
    <img alt="Version" src="https://img.shields.io/npm/v/@streamable-finance/sdk-core.svg">
  </a>
  <a href="#" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
</p>
</div>


# Introduction
SDK-Core is an application framework for interacting with the StreamPay Protocol without Solidity knowledge.

More specifically, SDK-Core is a wrapper library around `@streamable-finance/ethereum-contracts` which allows web developers to interact with the StreamPay contracts.
Under the hood, SDK-Core leverages TypeScript, ethers.js and The Graph and GraphQL.

## Important Disclaimer
SDK-Core is in early active development and can have breaking releases without warning and without consideration for semantic versioning.

# Features
* Minimal Framework initialization (`chainId` and `provider`)
* New Operation syntax for transactions
* Create/Update/Delete Agreement Operations (Constant Flow Agreement and Instant Distribution Agreement)
* SuperToken Operations
* Subgraph-powered GraphQL querying with ordering and pagination
* Event subscription
* CFA/IDA/SuperToken Web3 Getters
* Batch Call functionality for batching multiple StreamPay Operations in one transaction

# Notable Used Technologies
* TypeScript
* Ethers
* GraphQL

# Prerequisites

To get the package up and running you'll need to install the necessary dependencies and build the project:

```bash
yarn install && yarn build
```

> NOTE: `yarn build` has a prerequisite that the contracts in `ethereum-contracts` have been built.
npm package: @streamable/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 0.0.5

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @streambird-sdk/types
Description: Core typings for Streambird SDK packages.
Author: Streambird
Latest version: 6.1.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<!-- force publish -->

# ✨ Magic JavaScript SDK Types

[![<MagicLabs>](https://circleci.com/gh/magiclabs/magic-js.svg?style=shield)](https://circleci.com/gh/magiclabs/magic-js)

> Core typings for Magic SDK packages.

<p align="center">
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-sdk/types/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-sdk/types/CHANGELOG.md">Changelog</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 📖 Documentation

See the [developer documentation](https://docs.magic.link) to learn how you can master the Magic SDK in a matter of minutes.

## Looking to Get Started With Magic?

This package is an internal dependency of the Magic JavaScript SDK ecosystem. If you're looking to get started with Magic's passwordless authentication for web or React native, check out one of these:

- Web: [`magic-sdk`](https://github.com/magiclabs/magic-js/tree/master/packages/magic-sdk)
- React Native: [`@magic-sdk/react-native`](https://github.com/magiclabs/magic-js/tree/master/packages/@magic-sdk/react-native)