open-index/open-npm huggingface dataset:
npm package: @aretw0/web-skills
Description: First-party web skills: native search and browser automation via CDP
Latest version: 0.3.7

# @aretw0/web-skills

> First-party web skills para o agents-lab — automação de browser via CDP.

## Skills

| Skill | Descrição |
|---|---|
| `web-browser` | Automação de browser via Chrome DevTools Protocol — navegar, screenshot, JS eval, click, logs de rede |

## Uso

```bash
pi install npm:@aretw0/web-skills
```

Ou via projeto:

```json
{
  "packages": ["./packages/web-skills"]
}
```

### web-browser — setup inicial

A skill `web-browser` usa WebSocket (via `ws`) para comunicação CDP. Antes do primeiro uso:

```bash
npm install --prefix packages/web-skills/skills/web-browser/scripts
```

## Filosofia

`web-browser` é CDP puro — sem Playwright, sem Puppeteer, sem overhead. Ponto de partida do `mitsupi/web-browser` (MIT) com SKILL.md reescrito e scripts owned.

A busca web é coberta pelo `pi-web-access` via tool `web_search` direta — mais eficiente do que um script intermediário.

## Proveniência

| Skill | Baseada em |
|---|---|
| `web-browser` | `mitsupi/skills/web-browser` (MIT) — SKILL.md reescrito, scripts owned |

## Instalação via git

Para a versão mais recente sem esperar publish:

```bash
pi install https://github.com/aretw0/agents-lab
```

Isso instala todos os pacotes `@aretw0/*` de uma vez.

## Repositório

[github.com/aretw0/agents-lab](https://github.com/aretw0/agents-lab)

## Licença

MIT
npm package: @arexico/kafkajs-zstd
Description: A KafkaJS codec for ZStandard compression using Bun's built-in zstd (forked from @kafkajs/zstd)
Author: Arexico
Latest version: 0.1.2

# `@arexico/kafkajs-zstd`

ZStandard codec for KafkaJS using Bun's built-in zstd compression.

> **Fork Notice**: This is a fork of [`@kafkajs/zstd`](https://github.com/kafkajs/zstd) that has been ported to use Bun's native zstd compression instead of the `cppzst` native module.

> **NOTE**: This codec requires Bun v1.2.14 or higher with built-in zstd compression APIs (`Bun.zstdCompress` and `Bun.zstdDecompress`).
>
> This package is provided on a best-effort basis. Original repository: [@kafkajs/zstd](https://github.com/kafkajs/zstd)

## Installation

```sh
npm install --save @arexico/kafkajs-zstd
```

## Configuration

```javascript
const {  CompressionTypes, CompressionCodecs } = require('kafkajs')
const ZstdCodec = require('@arexico/kafkajs-zstd')

// Both compressionParams and decompressionParams are optional
const compressionParams = { level: 1 }
const decompressionParams = {}
CompressionCodecs[CompressionTypes.ZSTD] = ZstdCodec(compressionParams, decompressionParams)
```

### `compressionParams`

**Optional** Allows you to configure the compression level.

```js
{
    /*  
     * Higher compression level means better compression ratio at the cost of speed.
     * See https://facebook.github.io/zstd/
     */
    level: 3
}
```

### `decompressionParams`

**Optional** Currently unused but kept for API compatibility.

## Testing

**Requirements**: This package requires Bun v1.2.14 or higher with zstd support.

```sh
# Run with Docker (for integration tests)
$ docker-compose up -d && node scripts/waitForKafka.js
$ bun test

# Run unit tests only (no Docker required)
$ bun test src/compression.spec.js

# Verify type definitions
$ npm run test:types

# Lint
$ npm run lint
```

## License

See [LICENSE](https://github.com/arexico/kafkajs-zstd/blob/master/LICENSE) for more details.