open-index/open-npm huggingface dataset:
npm package: @oyenjs/eventsource
Description: [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
Latest version: 5.0.0

# @oyenjs/eventsource

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## Description

Eventsource library with support for automatic encryption and decryption of
messages for naive end-to-end encryption with an oob pre-shared key

Currently under active development.

## Example

```typescript
import {
  createAesCbcDecoder,
  createAesCbcEncoder,
  OyenEventSource,
  OyenEventTarget,
} from '@oyenjs/eventsource';

const teamId = 'example';
const eventSourceId = 'abcd12345';
const accessToken = 'e30.e30....';

const channel = 'test';

const myTopSecretKey = crypto.getRandomValues(new Uint8Array(32));

const source = new OyenEventSource({
  teamId,
  eventSourceId,
  channels: [channel],
  accessToken,
}).addDecoder('cipher+aes-256-cbc', createAesCbcDecoder(myTopSecretKey));

const target = new OyenEventTarget({
  teamId,
  eventSourceId,
}).addEncoder('cipher+aes-256-cbc', createAesCbcEncoder(myTopSecretKey));

const secretMessage = '👋';

const [, received] = await Promise.all([
  target.publish({
    ch: channel,
    d: {
      secretMessage,
    },
    enc: 'json',
  }),
  source.once(),
]);

console.log('received:', received); //  { ch: 'test', secretMessage: '👋' }
```

## License

Licensed under the terms of the MIT license. See the [LICENSE](LICENSE.md) file for more details.
npm package: @oyenjs/inbound
Description: Client library for the inbound message service from oyen.
Latest version: 4.0.2

# @oyenjs/inbound

Client library for the inbound message service from oyen.

## Install

```bash
npm install @oyenjs/inbound
```

## Usage

#### Email

```typescript
import { Inbound } from '@oyenjs/inbound';

const email = await Inbound.from({
  teamId: '<your oyen team id>',
  accessToken: 'eyj...',
  email: 'test@example.oyenmail.com',
});

const message = await email.once('message');

console.log(message);
// {
//   from: 'somewhere@example.com',
//   to: 'test@example.oyenmail.com',
//   raw: '<mime encoded email>',
// }
```

#### SMS

```typescript
import { Inbound } from '@oyenjs/inbound';

const sms = await Inbound.from({
  teamId: '<your oyen team id>',
  accessToken: 'eyj...',
  sms: '+65 8888 8888',
});

const message = await sms.once('message');

console.log(message);
// {
//   from: '+1234 456 7890',
//   to: '+65 8888 8888',
//   raw: 'Hello, World!',
// }
```
npm package: @oyenjs/keys
Description: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Latest version: 4.0.0

# @oyenjs/keys

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Description

Currently under active development.

## Example

```typescript
import { signToken, verifyToken } from '@oyenjs/keys';

const keys = await crypto.subtle
  .generateKey(
    {
      name: 'ECDSA',
      namedCurve: 'P-256',
    },
    true,
    ['sign', 'verify'],
  )
  .then(async ({ privateKey, publicKey }) => ({
    id: crypto.randomUUID(),
    private: await crypto.subtle.exportKey('jwk', privateKey),
    public: await crypto.subtle.exportKey('jwk', publicKey),
  }));

const jwt = await signToken(keys.private, {
  kid: keys.id,
  claims: {
    iss: 'https://www.example.com',
    sub: 'alice',
  },
  ttlSecs: 30,
});

console.log('ES256 JWT:', jwt);

const verified = await verifyToken(keys.public, jwt);

console.log('Verified:', verified.payload.sub === 'alice');
```

## Testing

Top tip: Decode JWTs quickly online at https://jwt.one

## License

Licensed under the terms of the MIT license. See the [LICENSE](LICENSE.md) file for more details.
npm package: @oyflores/gifsicle
Description: Gifsicle codec in WebAssembly.
Author: Cyril Wanner
Latest version: 1.1.0

# `@wasm-codecs/gifsicle` [![npm version](https://badgen.net/npm/v/@wasm-codecs/gifsicle)](https://www.npmjs.com/package/@wasm-codecs/gifsicle) [![license](https://badgen.net/github/license/cyrilwanner/wasm-codecs)](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) [![downloads](https://badgen.net/npm/dt/@wasm-codecs/gifsicle)](https://www.npmjs.com/package/@wasm-codecs/gifsicle)

> Gifsicle WebAssembly Codec

## Table of contents

1. [Installation](#installation)
1. [Usage](#usage)
1. [API](#api)
1. [Examples](#examples)
1. [License](#license)

## Installation

```bash
npm install @wasm-codecs/gifsicle
```

**Requirements:**
- Node.js 10 or later

## Usage

```typescript
import encode from '@wasm-codecs/gifsicle';

(async () => {
  const encodedImage = await encode(image, encodeOptions);
})();
```

## API

### `encode(image, encodeOptions?): Buffer`

Returns a buffer containing the compressed image data.

##### `image: Buffer`

Buffer of a GIF image.

##### `encodeOptions?: EncodeOptions`

All encoding options are optional and fall back to the [default values](https://github.com/cyrilwanner/wasm-codecs/blob/master/packages/gifsicle/src/options.ts#L3-L6).

```typescript
type EncodeOptions = {
  optimizationLevel?: number;
  interlaced?: boolean;
  colors?: number;
  width?: number;
  height?: number;
}
```

## Examples

### Using Node.js

```typescript
import fs from 'fs';
import encode from '@wasm-codecs/gifsicle';

(async () => {
  // read input image as a buffer
  const data = fs.readFileSync('in.gif');

  // encode the image using @wasm-codecs/gifsicle
  const output = await encode(data);

  // save the image to the file system
  fs.writeFileSync('out.png', output);
})();
```

## License

Licensed under the [MIT](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) license.

© Copyright Cyril Wanner
npm package: @oyflores/mozjpeg
Description: MozJPEG image encoder in WebAssembly
Author: Cyril Wanner
Latest version: 1.1.0

# `@wasm-codecs/mozjpeg` [![npm version](https://badgen.net/npm/v/@wasm-codecs/mozjpeg)](https://www.npmjs.com/package/@wasm-codecs/mozjpeg) [![license](https://badgen.net/github/license/cyrilwanner/wasm-codecs)](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) [![downloads](https://badgen.net/npm/dt/@wasm-codecs/mozjpeg)](https://www.npmjs.com/package/@wasm-codecs/mozjpeg)

> MozJPEG WebAssembly Codec

## Table of contents

1. [Installation](#installation)
1. [Usage](#usage)
1. [API](#api)
1. [Examples](#examples)
1. [License](#license)

## Installation

```bash
npm install @wasm-codecs/mozjpeg
```

**Requirements:**
- Node.js 10 or later

## Usage

```typescript
import encode from '@wasm-codecs/mozjpeg';

(async () => {
  const encodedImage = await encode(image, inputInfo, encodeOptions);
})();
```

## API

### `encode(image, inputInfo, encodeOptions?): Buffer`

Returns a buffer containing the compressed image data.

##### `image: Buffer`

A raw RGB image input buffer.

##### `inputInfo: InputInfo`

Those are required informations about the raw input image.
Channels specifies the amount of channels in the `image: Buffer` param and defaults to `3` (RGB).

```typescript
type InputInfo = {
  width: number;
  height: number;
  channels?: number;
}
```

##### `encodeOptions?: EncodeOptions`

All encoding options are optional and fall back to the [default values](https://github.com/cyrilwanner/wasm-codecs/blob/master/packages/mozjpeg/src/options.ts#L9-L26).

```typescript
type EncodeOptions = {
  quality?: number;
  baseline?: boolean;
  arithmetic?: boolean;
  progressive?: boolean;
  optimizeCoding?: boolean;
  smoothing?: number;
  colorSpace?: ColorSpace;
  quantTable?: number;
  trellisMultipass?: boolean;
  trellisOptZero?: boolean;
  trellisOptTable?: boolean;
  trellisLoops?: number;
  autoSubsample?: boolean;
  chromaSubsample?: number;
  separateChromaQuality?: boolean;
  chromaQuality?: number;
}
```

## Examples

### Using sharp in Node.js

```typescript
import fs from 'fs';
import sharp from 'sharp';
import encode from '@wasm-codecs/mozjpeg';

(async () => {
  // read input image and convert it to a raw buffer using sharp
  const {
    data,
    info: { width, height, channels },
  } = await sharp('in.jpg')
    .raw()
    .toBuffer({ resolveWithObject: true });

  // encode the image using @wasm-codecs/mozjpeg
  const output = await encode(data, { width, height, channels });

  // save the image to the file system
  fs.writeFileSync('out.jpg', output);
})();
```

## License

Licensed under the [MIT](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) license.

© Copyright Cyril Wanner
npm package: @oyflores/oxipng
Description: Oxipng image encoder in WebAssembly
Author: Cyril Wanner
Latest version: 1.1.0

# `@wasm-codecs/oxipng` [![npm version](https://badgen.net/npm/v/@wasm-codecs/oxipng)](https://www.npmjs.com/package/@wasm-codecs/oxipng) [![license](https://badgen.net/github/license/cyrilwanner/wasm-codecs)](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) [![downloads](https://badgen.net/npm/dt/@wasm-codecs/oxipng)](https://www.npmjs.com/package/@wasm-codecs/oxipng)

> Oxipng WebAssembly Codec

## Table of contents

1. [Installation](#installation)
1. [Usage](#usage)
1. [API](#api)
1. [Examples](#examples)
1. [License](#license)

## Installation

```bash
npm install @wasm-codecs/oxipng
```

**Requirements:**
- Node.js 10 or later

## Usage

```typescript
import encode from '@wasm-codecs/oxipng';

(async () => {
  const encodedImage = await encode(image, encodeOptions);
})();
```

## API

### `encode(image, encodeOptions?): Buffer`

Returns a buffer containing the compressed image data.

##### `image: Buffer`

Buffer of a PNG image.

##### `encodeOptions?: EncodeOptions`

All encoding options are optional and fall back to the [default values](https://github.com/cyrilwanner/wasm-codecs/blob/master/packages/oxipng/src/options.ts#L3-L5).

```typescript
type EncodeOptions = {
  level?: number;
}
```

## Examples

### Using Node.js

```typescript
import fs from 'fs';
import encode from '@wasm-codecs/oxipng';

// read input image as a buffer
const data = fs.readFileSync('in.png');

// encode the image using @wasm-codecs/oxipng
const output = encode(data);

// save the image to the file system
fs.writeFileSync('out.png', output);
```

## License

Licensed under the [MIT](https://github.com/cyrilwanner/wasm-codecs/blob/master/LICENSE) license.

© Copyright Cyril Wanner
npm package: @oyishyi/my-first-package-for-practice
Description: CN：我的第一个包。
JP: 初めてのパッケージ、ワクワクする。
Author: oyishyi
Latest version: 2.0.0

# 介绍
这是我的第一个包。没有任何功能。除了一些测试函数。
我通过 yarn 上传了这个版本。
npm package: @oyl/sdk
Description: Oyl SDK
Author: Oyl Dynamics
Latest version: 1.17.0

[![npm version](https://badge.fury.io/js/%40oyl%2Fsdk.svg)](https://www.npmjs.com/package/@oyl/sdk)

# Oyl Sdk

> A comphrenesive sdk that features easy to use bitcoin functions to build and brodcast btc transactions.

## Table of contents

- [Oyl SDK](#oyl-sdk)
  - [Table of contents](#table-of-contents)
  - [Installation](#installation)
  - [Usage](#usage)
    - [Running the tests](#running-the-tests)
    - [Using the cli](#using-the-cli-version)
  - [Contributing](#contributing)
  - [Versioning](#versioning)
  - [Authors](#authors)
  - [License](#license)

## Installation

To install and set up the library, run:

```sh
$ git clone https://github.com/oyl-wallet/oyl-sdk.git
$ cd oyl-sdk
$ yarn install
```

## Usage

### Prerequisites

- Node.js >= 20
- yarn

### Running the tests

```sh
$ yarn test
```

### Using the CLI version

```sh
$ make reset
```

This does a fresh build of the lib directory which the cli uses after all the .ts files are compiled.

The name of the bin for the cli is called "oyl". If you want to invoke it without having the yarn prefix you need to add it globally.
Run this command:

```sh
$ yarn global add oyl
```

You can also link the package so it updates as you make local changes:

```sh
$ yarn link
```

If you want the program to be isolated to only this enviornment use the local script provided to you like this:

```sh
$ yarn oyl --help
```

e.g. `oyl utxos addressUtxos -a bcrt1qcr8te4kr609gcawutmrza0j4xv80jy8zeqchgx -p regtest`.
For more detailed instructions on how to use the cli, refer to the README.md found in the cli directory.

## Documentation

Full documentation is available at https://alkanes.build/

## Contributing

1.  Fork it!
2.  Create your feature branch: `git checkout -b my-new-feature`
3.  Add your changes: `git add .`
4.  Commit your changes: `git commit -m 'Add some feature'`
5.  Push to the branch: `git push origin my-new-feature`
6.  Submit a pull request :sunglasses:

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/oyl-wallet/oyl-sdk/tags).

## Publishing to NPM

From root of oyl-sdk repo:

```sh
$ npm publish --access public
```

## Authors

- **Oyl Dynamics**

See also the list of [contributors](https://github.com/oyl-wallet/oyl-sdk/contributors) who participated in this project.

## License

[MIT License](https://github.com/Oyl-Wallet/oyl-sdk/blob/main/LICENSE)
npm package: @oyohim/adapter-axios
Description: Quester adapter for axios
Author: oyohimjs
Latest version: 1.0.1

# @oyoHiM/adapter-axios

[![npm](https://img.shields.io/npm/v/@oyohim/adapter-axios?style=flat-square)](https://www.npmjs.com/package/@oyohim/adapter-axios)
![issues](https://img.shields.io/github/issues/oyohimjs/oyohim?style=flat-square)

Simple http requester based on axios.

## Installation

```shell
npm install @oyohim/adapter-axios

# or use yarn

yarn add @oyohim/adapter-axios
```

## License

This project is licensed under the [MIT License](./LICENSE).
npm package: @oyohim/adapter-fetch
Description: Quester adapter for fetch
Author: oyohimjs
Latest version: 1.0.0

# @oyoHiM/adapter-fetch

[![npm](https://img.shields.io/npm/v/@oyohim/adapter-fetch?style=flat-square)](https://www.npmjs.com/package/@oyohim/adapter-fetch)
![issues](https://img.shields.io/github/issues/oyohimjs/oyohim?style=flat-square)

Simple http requester based on fetch.

## Installation

```shell
npm install @oyohim/adapter-fetch

# or use yarn

yarn add @oyohim/adapter-fetch
```

## License

This project is licensed under the [MIT License](./LICENSE).
npm package: @oyohim/ds
Description: A Dynamic Signature Generator for Oyohim
Author: oyohimjs
Latest version: 1.0.0

# @oYoHim/DS

[![npm](https://img.shields.io/npm/v/@oyohim/ds?style=flat-square)](https://www.npmjs.com/package/@oyohim/ds)
![issues](https://img.shields.io/github/issues/oyohimjs/oyohim?style=flat-square)

Create a dynamic secret for oyohim.

## Installation

```shell
npm install @oyohim/ds

# or use yarn

yarn add @oyohim/ds
```

## Usage

```typescript
import { DynamicSecret } from '@oyohim/ds'

const webviewDS = DynamicSecret.createSign(DynamicSecret.Version.WebView)
const DS = webbiewDS({/** post body */}, {/** get query params */})
```

## License

This project is licensed under the [MIT License](./LICENSE).

Only for learning and communication, not for commercial use.
npm package: @oyohim/quester
Description: Simple http request framework for oyohim.
Author: oyohimjs
Latest version: 0.1.0

# @oYoHim/Quester

[![npm](https://img.shields.io/npm/v/@oyohim/quester?style=flat-square)](https://www.npmjs.com/package/@oyohim/quester)
[![GitHub](https://img.shields.io/github/license/oyohimjs/oyohim?style=flat-square)](./LICENSE)

Simple http request framework for oyohim.

> Because of current demand is get and post, so this package only support get and post.

## Installation

```shell
npm install @oyohim/quester

# or use yarn

yarn add @oyohim/quester
```

## Usage

```typescript
import { Quester } from '@oyohim/quester';
import { AdapterAxios } from '@oyohim/adapter-axios';

const http = new Quester(AdapterAxios, {
  baseURL: 'https://api.github.com',
  headers: {
    'Content-Type': 'application/json',
  },
});

const respose = await http.get('/users/oyohimjs');
```

## API

### class `Quester()`

- adapter: `Quester.Adapter`
- config: `Quester.Config`

#### `.get<T>()`:Promise\<QuesterAdapterResponse\<T\>\>

- url: `string`
- config?: `Quester.Config`

#### `.post<T>()`:Promise\<QuesterAdapterResponse\<T\>\>

- url: `string`
- config?: `Quester.Config`

## Adapter

- [AdapterAxios](../../adapter/axios)
- [AdapterFetch](../../adapter/fetch)

## Thanks

- [satori](https://github.com/satorijs/satori)
- [axios](https://github.com/axios/axios)

## License

This project is licensed under the [MIT License](./LICENSE).
npm package: @oyolincc/kit
Description: 自用小工具
Author: oyolincc
Latest version: 1.0.9

# @oyolincc/kit

暴露一些常用小工具私用。

## 介绍

```js
import {
  // 防抖
  debounce,
  // 延迟
  delay,
  // 立即执行的防抖
  immedDebounce,
  // 基于并发执行，执行回调 iterateConcurrency<S = any, T = any>(sources: S[], max: number, iterator: (source: S) => Promise<T>): Promise<T[]>
  iterateConcurrency,
  // 重拾任务
  retryTask,
  // 并发执行 runConcurrency<T>(tasks: (() => Promise<T>)[], max: number): Promise<T[]>
  runConcurrency,
  // ...
} from '@oyolincc/kit'
```

```js
import {
  // 分层并发器
  Concurrency,
} from '@oyolincc/kit'
```
npm package: @oysa/connectos
Description: CLI for ConnectOS — integration and trust layer for AI executive systems
Latest version: 0.5.1

# ConnectOS CLI (`ctos`)

CLI for [ConnectOS](https://github.com/ArshyaAI/connectos) — integration and trust layer for AI executive systems.

## Install

```bash
npm install -g connectos
```

## Configure

Set environment variables or create `~/.ctosrc`:

```json
{
  "url": "https://your-connectos-server.up.railway.app",
  "tenantId": "your-tenant-id",
  "apiKey": "your-api-key"
}
```

Or use environment variables:

```bash
export CONNECTOS_URL="https://your-connectos-server.up.railway.app"
export CONNECTOS_TENANT_ID="your-tenant-id"
export CONNECTOS_API_KEY="your-api-key"
```

## Usage

```bash
# Check server health
ctos status --pretty

# List connections
ctos connections --pretty

# Connect a provider (opens browser for OAuth)
ctos connect shopify --pretty

# Disconnect a provider
ctos disconnect shopify --pretty

# Get recommended OAuth scopes
ctos scopes shopify --pretty

# Fetch morning briefing
ctos briefing daily --pretty

# Get OpenClaw agent context
ctos context --pretty
```

## Commands

| Command                 | Description                              |
| ----------------------- | ---------------------------------------- |
| `status`                | Server health checks                     |
| `health`                | Readiness probe detail                   |
| `connections`           | List connections with status             |
| `context`               | OpenClaw agent context snapshot          |
| `connect <provider>`    | Start OAuth connection                   |
| `reconnect <provider>`  | Re-authorize a broken connection         |
| `disconnect <provider>` | Remove a connection                      |
| `scopes <provider>`     | Recommended OAuth scopes                 |
| `briefing <source>`     | Fetch briefing data                      |
| `approve`               | Manage write-lane approvals              |
| `proxy`                 | Execute API calls through trust boundary |

## Requirements

- Node.js >= 22.6.0
- A running ConnectOS server

## License

MIT