open-index/open-npm huggingface dataset:
npm package: @nadjaroemer/famous_name_generator
Description: Funny way to spice up your console log
Author: Nadja Rømer Hesselbjerg nadja.kuti@gmail.com
Latest version: 1.0.0

# Famous Name Generator

Need a **laugh** while coding? 

Shuffle thrugh famous names in your console.

## Usage

**Install in terminal with:**

`npm i @nadjaroemer famous_name_generator` 

```javascript

var famousFunnyNames = require ("@nadjaroemer famous_name_generator");
```

*Test by writing in terminal:*

`node [name of your file containing import]`
npm package: @nadjaroemer/rainbow-log
Description: creates a colorful console log
Author: Nadja Rømer Hesselbjerg nadja.kuti@gmail.com
Latest version: 2.0.0

# Rainbow-log

This rainbow-log package makes a colourful console log.
E P I C !

## Usage

Install with `npm i @nadjaroemer/rainbow-log`

```javascript
var rainbowlog = require("@nadjaroemer/rainbow-log")

rainbowLog("I am a rainbow, look at me go!")
npm package: @nadlowebagentur/audio-control
Description: Control IOS/Android volume with Capacitor
Latest version: 0.1.0

# @nadlowebagentur/audio-control

Control IOS/Android volume with Capacitor

## Install

```bash
npm install @nadlowebagentur/audio-control
npx cap sync
```

## API

<docgen-index>

* [`setVolume(...)`](#setvolume)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### setVolume(...)

```typescript
setVolume(options: { value: string; }) => Promise<{ value: string; }>
```

| Param         | Type                            |
| ------------- | ------------------------------- |
| **`options`** | <code>{ value: string; }</code> |

**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>

--------------------

</docgen-api>
npm package: @nadlowebagentur/capacitor-pdf-viewer
Description: Native PDF viewer
Author: codobred
Latest version: 0.1.12

# @nadlowebagentur/capacitor-pdf-viewer

Native PDF viewer

## Install

```bash
npm install @nadlowebagentur/capacitor-pdf-viewer
npx cap sync
```

## API

<docgen-index>

* [`open(...)`](#open)
* [`close()`](#close)
* [`getStatus()`](#getstatus)
* [`setMode(...)`](#setmode)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### open(...)

```typescript
open(params: { url: string; title?: string; top?: number; }) => Promise<void>
```

| Param        | Type                                                        |
| ------------ | ----------------------------------------------------------- |
| **`params`** | <code>{ url: string; title?: string; top?: number; }</code> |

--------------------


### close()

```typescript
close() => Promise<void>
```

--------------------


### getStatus()

```typescript
getStatus() => Promise<PDFViewerStatus>
```

**Returns:** <code>Promise&lt;<a href="#pdfviewerstatus">PDFViewerStatus</a>&gt;</code>

--------------------


### setMode(...)

```typescript
setMode(params: { mode: 'front' | 'back'; }) => Promise<void>
```

| Param        | Type                                      |
| ------------ | ----------------------------------------- |
| **`params`** | <code>{ mode: 'front' \| 'back'; }</code> |

--------------------


### Interfaces


#### PDFViewerStatus

| Prop            | Type                 |
| --------------- | -------------------- |
| **`isOpen`**    | <code>boolean</code> |
| **`isAtEnd`**   | <code>boolean</code> |
| **`page`**      | <code>number</code>  |
| **`pageCount`** | <code>number</code>  |

</docgen-api>
npm package: @nadlowebagentur/capacitor-sip-phone
Description: Connect to SIP phone line
Latest version: 0.0.4

# @nadlowebagentur/capacitor-sip-phone

Connect to SIP phone line

## Install

```bash
npm install @nadlowebagentur/capacitor-sip-phone
npx cap sync
```

## API

<docgen-index>

* [`initialize()`](#initialize)
* [`login(...)`](#login)
* [`logout()`](#logout)
* [`call(...)`](#call)
* [`acceptCall()`](#acceptcall)
* [`hangUp()`](#hangup)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### initialize()

```typescript
initialize() => Promise<void>
```

Initialize plugin state

--------------------


### login(...)

```typescript
login(options: SipLoginOptions) => Promise<void>
```

Make login to the SIP

| Param         | Type                                                        |
| ------------- | ----------------------------------------------------------- |
| **`options`** | <code><a href="#siploginoptions">SipLoginOptions</a></code> |

--------------------


### logout()

```typescript
logout() => Promise<void>
```

Logout & terminate account

--------------------


### call(...)

```typescript
call(options: SipOutgoingCallOptions) => Promise<void>
```

Make outgoing call

| Param         | Type                                                                      |
| ------------- | ------------------------------------------------------------------------- |
| **`options`** | <code><a href="#sipoutgoingcalloptions">SipOutgoingCallOptions</a></code> |

--------------------


### acceptCall()

```typescript
acceptCall() => Promise<void>
```

Accept incoming call

--------------------


### hangUp()

```typescript
hangUp() => Promise<void>
```

Terminate current call

--------------------


### Interfaces


#### SipLoginOptions

| Prop            | Type                                 | Description                      |
| --------------- | ------------------------------------ | -------------------------------- |
| **`transport`** | <code>'TLS' \| 'TCP' \| 'UDP'</code> | By default "UDP"                 |
| **`domain`**    | <code>string</code>                  | SIP domain address               |
| **`username`**  | <code>string</code>                  | User login for authentication    |
| **`password`**  | <code>string</code>                  | User password for authentication |


#### SipOutgoingCallOptions

| Prop          | Type                |
| ------------- | ------------------- |
| **`address`** | <code>string</code> |

</docgen-api>
npm package: @nadlowebagentur/capacitor-user-default
Description: Read default app settings
Author: codobred
Latest version: 0.1.4

# capacitor-user-default

Read default app settings

## Install

```bash
npm install @nadlowebagentur/capacitor-user-default
npx cap sync
```

## API

<docgen-index>

* [`getByKey(...)`](#getbykey)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### getByKey(...)

```typescript
getByKey(params: { key: string; }) => Promise<{ value: string; }>
```

| Param        | Type                          |
| ------------ | ----------------------------- |
| **`params`** | <code>{ key: string; }</code> |

**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>

--------------------

</docgen-api>
npm package: @naeemo/capnp
Description: Pure TypeScript Cap'n Proto implementation with RPC support
Author: Naeemo
Latest version: 0.9.3

# Cap'n Proto TypeScript

[![npm version](https://img.shields.io/npm/v/@naeemo/capnp.svg)](https://www.npmjs.com/package/@naeemo/capnp)
[![Documentation](https://img.shields.io/badge/docs-website-blue.svg)](https://naeemo.github.io/capnp/)

纯 TypeScript 实现的 Cap'n Proto，支持零拷贝反序列化，与官方 C++ 实现完全兼容。

[📖 文档网站](https://naeemo.github.io/capnp/) | [English Documentation](./README.md)

## 特性

- 🚀 **零拷贝反序列化** - 直接从缓冲区读取数据，无需解析
- 🔧 **纯 TypeScript** - 无 WASM 或原生依赖，可在任何 JS 环境运行
- ✅ **官方兼容** - 已通过官方 C++ 实现测试验证
- 📦 **Schema 代码生成** - 从 `.capnp` 模式生成 TypeScript 类型
- ⚡ **高性能** - 简单结构序列化 1.4μs，反序列化 0.6μs

## 安装

```bash
pnpm add @naeemo/capnp
```

## 快速开始

### 基础用法

```typescript
import { MessageBuilder, MessageReader } from '@naeemo/capnp';

// 构建消息
const builder = new MessageBuilder();
const root = builder.initRoot(2, 1); // 2 个数据字，1 个指针
root.setInt32(0, 42);
root.setText(0, '你好，Cap\'n Proto！');
const buffer = builder.toArrayBuffer();

// 读取消息
const reader = new MessageReader(buffer);
const data = reader.getRoot(2, 1);
console.log(data.getInt32(0)); // 42
console.log(data.getText(0));  // "你好，Cap'n Proto！"
```

### 代码生成

使用 V3 CLI 从 Cap'n Proto schema 生成 TypeScript 类型（需要安装 `capnp` 工具）：

```bash
# 生成单文件
npx capnp-ts-codegen schema.capnp -o types.ts

# 生成多文件到目录
npx capnp-ts-codegen schema.capnp -d ./generated

# 自定义运行时导入路径
npx capnp-ts-codegen schema.capnp -o types.ts -r ../my-runtime
```

生成的代码包括：
- TypeScript 接口
- Reader 类（getter）
- Builder 类（setter + 工厂方法）

## 性能

| 操作 | 延迟 | 吞吐量 |
|-----------|---------|------------|
| 简单结构序列化 | 1.4 μs | 68万 ops/sec |
| 简单结构反序列化 | 0.6 μs | 166万 ops/sec |
| 嵌套结构序列化 | 4.1 μs | 24万 ops/sec |
| 列表(100项)序列化 | 6.8 μs | 14万 ops/sec |

详见 [PERFORMANCE.md](./PERFORMANCE.md)

## 文档

- [📖 文档网站](https://naeemo.github.io/capnp/)
- [API 文档](./docs/API.md)
- [性能报告](./PERFORMANCE.md)
- [测试覆盖](./TEST_COVERAGE.md)
- [更新日志](./CHANGELOG.md)

## 贡献

欢迎贡献！请查看 [CONTRIBUTING.md](./CONTRIBUTING.md) 了解指南。

## 致谢

由 **Naeemo** 和 [Moonshot AI](https://github.com/MoonshotAI) 共同开发。

## 许可证

MIT 许可证 - 详见 [LICENSE](./LICENSE)
npm package: @naeemo/cdl-ai
Description: AI-powered natural language to CDL code generator
Latest version: 0.7.1

# @cdl/ai

AI-Powered Natural Language to CDL Code Generator

将自然语言描述转换为 CDL (Chart Definition Language) 代码。

## 安装

```bash
npm install @cdl/ai
```

## 使用

### 基础用法

```typescript
import { nlToCDL } from '@cdl/ai';

const result = await nlToCDL("最近6个月销售额折线图，蓝色", {
  apiKey: 'your-kimi-api-key',
  model: 'kimi-k2p5',
});

if (result.success) {
  console.log(result.cdl);
  // 输出:
  // @lang(data)
  // Data 销售数据 { ... }
  // Chart 销售趋势 { ... }
}
```

### CLI 用法

```bash
# 设置 API Key
export KIMI_API_KEY="your-api-key"

# 生成 CDL
cdl nl "画一个饼图展示各部门预算占比"

# 保存到文件
cdl nl "蓝色折线图，显示月度销售趋势" --output chart.cdl
```

### 批量转换

```typescript
import { nlToCDLBatch } from '@cdl/ai';

const descriptions = [
  "销售额折线图",
  "各部门预算饼图",
  "用户增长柱状图"
];

const results = await nlToCDLBatch(descriptions, { apiKey });
```

## API

### `nlToCDL(description, options)`

将自然语言描述转换为 CDL 代码。

**参数:**
- `description: string` - 自然语言描述
- `options: NLToCDLOptions`
  - `apiKey: string` - API Key (必填)
  - `model?: string` - 模型名称，默认 'kimi-k2p5'
  - `baseURL?: string` - API 基础 URL
  - `temperature?: number` - 温度参数，默认 0.3

**返回:** `Promise<NLToCDLResult>`
- `success: boolean` - 是否成功
- `cdl?: string` - 生成的 CDL 代码
- `ast?: object` - AST 结构
- `error?: string` - 错误信息

## 环境变量

- `KIMI_API_KEY` - Kimi API Key
- `OPENAI_API_KEY` - OpenAI API Key (备选)

## License

MIT