open-index/open-npm huggingface dataset:
npm package: @ppbl/qq-bot
Description: QQ机器人 Node.js SDK
Author: joyqwang
Latest version: 2.9.7

# QQ 频道机器人 SDK qq-guild-bot

用于开发 QQ 频道机器人的 Node.js SDK。

## 使用文档

[NodeSDK 文档](https://bot.q.qq.com/wiki/develop/nodesdk/)

## 本地开发

```shell
# clone repo
git clone https://github.com/tencent-connect/bot-node-sdk.git

# cd repo
cd bot-node-sdk

# run
npm run dev

# run example
npm run linkdev
npm run example
```

## 参与共建 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

- 👏 如果您有针对 SDK 的错误修复，请以分支`fix/xxx`向`main`分支发 PR
- 👏 如果您有新的内容贡献，请以分支`feature/xxx`向`main`分支发起 PR
- 👏 如果您有相关的建议或意见，请提[issues](https://github.com/tencent-connect/bot-node-sdk/issues)

## 加入官方社区

欢迎扫码加入**QQ 频道开发者社区**。

![开发者社区](https://mpqq.gtimg.cn/privacy/qq_guild_developer.png)

## 贡献者

<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<a href="https://github.com/tencent-connect/bot-node-sdk/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=tencent-connect/bot-node-sdk" />
</a>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

## 注意

`qq-guild-bot`自`v2.0.0`开始，被用作 QQ 频道机器人官方 SDK。原`qq-guild-bot`对应的能力，已迁移到[qq-guild-bot-es](https://www.npmjs.com/package/qq-guild-bot-es)，请知晓!
npm package: @ppbong/cvss
Description: Common Vulnerability Scoring System
Author: ppbong
Latest version: 1.0.1

# CVSS

## CVSS Specification Document

- [CVSS V3.0 Specification Document](https://www.first.org/cvss/v3.0/specification-document)
- [CVSS V3.1 Specification Document](https://www.first.org/cvss/v3.1/specification-document)

## Installation

```bash
npm install @ppbong/cvss
```

## Usage Example

```javascript
import { calculateCvssScore } from '@ppbong/cvss';

const printCvssScore = (cvssScore) => {
    console.log("CVSS Version: " + cvssScore.version);
    console.log("CVSS Base Score: " + cvssScore.baseScore);
    console.log("CVSS Base Severity: " + cvssScore.baseSeverity);
    console.log("CVSS Temporal Score: " + cvssScore.temporalScore);
    console.log("CVSS Temporal Severity: " + cvssScore.temporalSeverity);
    console.log("CVSS Environmental Score: " + cvssScore.environmentalScore);
    console.log("CVSS Environmental Severity: " + cvssScore.environmentalSeverity);
    console.log("CVSS Scope is Changed: " + cvssScore.isScopeChanged);
    console.log("CVSS Modified Scope is Changed: " + cvssScore.isModifiedScopeChanged);
    console.log("CVSS Metric: ");
    cvssScore.qualitativeMetricValues.forEach((m) => {
        console.log(m.metricName + " : " + m.metricCode + " : " + m.metricValue + " : " + m.metricScore);
    });
}

const cvssV30Score = calculateCvssScore("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
const cvssV31Score = calculateCvssScore("CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");

printCvssScore(cvssV30Score);
printCvssScore(cvssV31Score);
```
npm package: @ppbong/svg-converter
Description: SVG to PNG, ICO, ICNS converter library for Node.js
Author: ppbong
Latest version: 1.0.2

# svg-converter

SVG to PNG, ICO, ICNS converter library for Node.js

## Installation

```bash
npm install @ppbong/svg-converter
```

## Usage

### ES Modules (import)

```javascript
import SVGConverter from '@ppbong/svg-converter';

const converter = new SVGConverter();

// Convert to PNG
await converter.toPng('input.svg', 'output.png', { width: 200, height: 200 });

// Convert to ICO
await converter.toIco('input.svg', 'output.ico', { sizes: [16, 32, 64] });

// Convert to ICNS
await converter.toIcns('input.svg', 'output.icns', { sizes: [16, 32, 64] });
```

### CommonJS (require)

```javascript
const SVGConverter = require('@ppbong/svg-converter');

const converter = new SVGConverter();

// Convert to PNG
converter.toPng('input.svg', 'output.png', { width: 200, height: 200 });

// Convert to ICO
converter.toIco('input.svg', 'output.ico', { sizes: [16, 32, 64] });

// Convert to ICNS
converter.toIcns('input.svg', 'output.icns', { sizes: [16, 32, 64] });
```

## API

### toPng(inputPath, outputPath, options)
- `inputPath`: 输入SVG文件路径
- `outputPath`: 输出PNG文件路径
- `options`: 
  - `width`: 输出宽度
  - `height`: 输出高度

### toIco(inputPath, outputPath, options)
- `inputPath`: 输入SVG文件路径
- `outputPath`: 输出ICO文件路径
- `options`: 
  - `sizes`: 包含的尺寸数组

### toIcns(inputPath, outputPath, options)
- `inputPath`: 输入SVG文件路径
- `outputPath`: 输出ICNS文件路径
- `options`: 
  - `sizes`: 包含的尺寸数组
  - `includeRetina`: 是否包含Retina分辨率图标

## License

MIT
npm package: @ppcassist/amazon-ads-mcp
Description: Local MCP proxy for Amazon Ads API - authenticates and forwards requests to Amazon's official MCP server
Author: PPCAssist
Latest version: 1.0.7

# @ppcassist/amazon-ads-mcp

Local MCP proxy for the Amazon Ads API. Sits between Claude Desktop and Amazon's official Advertising MCP server, handling OAuth authentication and token refresh automatically.

## How it works

1. On startup, exchanges your refresh token for an access token via Amazon OAuth
2. Auto-refreshes the token every 50 minutes
3. Proxies all MCP requests from Claude Desktop to the Amazon Ads MCP server
4. Injects required authentication headers on every request
5. Streams SSE responses back to Claude without buffering

## Prerequisites

You need Amazon Ads API credentials:

- **CLIENT_ID** - Your Amazon Ads API client ID (Login with Amazon)
- **CLIENT_SECRET** - Your Amazon Ads API client secret
- **REFRESH_TOKEN** - OAuth refresh token for your Amazon Ads account
- **PROFILE_ID** - Your Amazon Advertising profile ID
- **REGION** - One of `EU`, `NA`, or `FE`

## Setup with Claude Desktop

Add to your Claude Desktop configuration (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "amazon-ads": {
      "command": "npx",
      "args": ["-y", "@ppcassist/amazon-ads-mcp"],
      "env": {
        "CLIENT_ID": "amzn1.application-oa2-client.xxxxx",
        "CLIENT_SECRET": "your-client-secret",
        "REFRESH_TOKEN": "Atzr|your-refresh-token",
        "PROFILE_ID": "your-profile-id",
        "REGION": "EU"
      }
    }
  }
}
```

## Supported regions

| Region | Endpoint |
|--------|----------|
| NA | `https://advertising-ai.amazon.com/mcp` |
| EU | `https://advertising-ai-eu.amazon.com/mcp` |
| FE | `https://advertising-ai-fe.amazon.com/mcp` |

## How it proxies

All MCP JSON-RPC messages (`initialize`, `tools/list`, `tools/call`, etc.) are forwarded to Amazon's MCP server with these headers injected:

- `Authorization: Bearer <access_token>`
- `Amazon-Ads-ClientId: <CLIENT_ID>`
- `Amazon-Advertising-API-Scope: <PROFILE_ID>`
- `Amazon-Ads-AI-Account-Selection-Mode: FIXED`
- `Accept: application/json, text/event-stream`

Responses (including SSE streams) are forwarded back to Claude as-is.

## License

MIT
npm package: @ppci-mock/sourcemix-item
Description: Sourcemix item
Author: Powerpeers
Latest version: 1.3.30

# Sourcemix item
### Table of contents
<ol>
  <li>
    <a href="#installation">Installation</a>
  </li>
  <li>
    <a href="#usage">Usage</a>
  </li>
  <li>
    <a href="#styling">Styling</a>
  </li>
  <li>
    <a href="#properties">Properties</a>
  </li>
  <li>
    <a href="#events">Events</a>
  </li>
</ol>

### Installation
#### NPM
```javascript
npm i @ppci-mock/sourcemix-item

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
```

### Usage
#### Javascript
```javascript
import '@ppci-mock/sourcemix-item'
```

#### Browser
```html
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/sourcemix-item/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/sourcemix-item/builds/legacy.min.js" />

<!-- Component -->
<sourcemix-item
  id=${String}
  name=${String}
  city=${String}
  image=${String}
  icon=${String}
  deleteMode
></sourcemix-item>
```

### Styling
```css
sourcemix-item {
  --category-color: blue;
  --icon-color: white;
  --background-color: white;

  /* Dynamically generated icon variables based on available energy subtypes */
  --icon-wind: 'wind icon';
  --icon-sun: 'sun icon';
  --icon-water: 'water icon';
  ...etc

  /* Dynamically generated category color variables based on the available categories */
  --local-color: red;
  --social-color: blue;
  ...etc
}
```

### Properties
<table width="100%">
  <thead>
    <tr>
      <td>Property</td>
      <td>Type</td>
      <td>Description</td>
      <td>Possible Values</td>
    </tr>
  </thead>
  <tr>
    <td>*id*</td>
    <td>string</td>
    <td>Corresponding data id</td>
    <td>'d677ecdd-79c8-4409-81be-f0fd956f4be2', '1'</td>
  </tr>
  <tr>
    <td>*name*</td>
    <td>string</td>
    <td>Name of the sourcemix</td>
    <td></td>
  </tr>
   <tr>
    <td>*city*</td>
    <td>string</td>
    <td>City of the sourcemix</td>
    <td>'Amsterdam'</td>
  </tr>
   <tr>
    <td>*image*</td>
    <td>string</td>
    <td>Avatar image url</td>
    <td>https://powerpeers-tst.azurewebsites.net/assets/images/avatars/Avatars-blonde.png</td>
  </tr>
   <tr>
    <td>*category*</td>
    <td>string</td>
    <td>Sourcemix category</td>
    <td>local | social</td>
  </tr>
   <tr>
    <td>*subtype*</td>
    <td>string</td>
    <td>Sourcemix energy subtype</td>
    <td>wind | sun | water</td>
  </tr>
   <tr>
    <td>deleteMode</td>
    <td>boolean</td>
    <td>Show item in delete mode. This will show a garbage bin icon.</td>
    <td></td>
  </tr>
  <tr>
    <td>inactive</td>
    <td>boolean</td>
    <td>Mark sourcemix as inactive.</td>
    <td></td>
  </tr>
</table>

### Events
<table width="100%">
  <thead>
    <tr>
      <td>Name</td>
      <td>Description</td>
      <td>Payload</td>
    </tr>
  </thead>
  <tr>
    <td>@click</td>
    <td>List item clicked</td>
    <td>```{ detail: { id: '1' } }```</td>
  </tr>
   <tr>
    <td>@delete</td>
    <td>List item delete button clicked</td>
    <td>```{ detail: { id: '1' } }```</td>
  </tr>
</table>
npm package: @ppci/sourcemix-item
Description: Sourcemix item
Author: Powerpeers
Latest version: 1.3.14

# Sourcemix item
### Table of contents
<ol>
  <li>
    <a href="#installation">Installation</a>
  </li>
  <li>
    <a href="#usage">Usage</a>
  </li>
  <li>
    <a href="#styling">Styling</a>
  </li>
  <li>
    <a href="#properties">Properties</a>
  </li>
  <li>
    <a href="#events">Events</a>
  </li>
</ol>

### Installation
#### NPM
```javascript
npm i @ppci/sourcemix-item

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
```

### Usage
#### Javascript
```javascript
import '@ppci/sourcemix-item'
```

#### Browser
```html
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/sourcemix-item/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/sourcemix-item/builds/legacy.min.js" />

<!-- Component -->
<sourcemix-item
  id=${String}
  name=${String}
  city=${String}
  image=${String}
  icon=${String}
  deleteMode
></sourcemix-item>
```

### Styling
```css
sourcemix-item {
  --category-color: blue;
  --icon-color: white;
  --background-color: white;

  /* Dynamically generated icon variables based on available energy subtypes */
  --icon-wind: 'wind icon';
  --icon-sun: 'sun icon';
  --icon-water: 'water icon';
  ...etc

  /* Dynamically generated category color variables based on the available categories */
  --local-color: red;
  --social-color: blue;
  ...etc
}
```

### Properties
<table width="100%">
  <thead>
    <tr>
      <td>Property</td>
      <td>Type</td>
      <td>Description</td>
      <td>Possible Values</td>
    </tr>
  </thead>
  <tr>
    <td>*id*</td>
    <td>string</td>
    <td>Corresponding data id</td>
    <td>'d677ecdd-79c8-4409-81be-f0fd956f4be2', '1'</td>
  </tr>
  <tr>
    <td>*name*</td>
    <td>string</td>
    <td>Name of the sourcemix</td>
    <td></td>
  </tr>
   <tr>
    <td>*city*</td>
    <td>string</td>
    <td>City of the sourcemix</td>
    <td>'Amsterdam'</td>
  </tr>
   <tr>
    <td>*image*</td>
    <td>string</td>
    <td>Avatar image url</td>
    <td>https://powerpeers-tst.azurewebsites.net/assets/images/avatars/Avatars-blonde.png</td>
  </tr>
   <tr>
    <td>*category*</td>
    <td>string</td>
    <td>Sourcemix category</td>
    <td>local | social</td>
  </tr>
   <tr>
    <td>*subtype*</td>
    <td>string</td>
    <td>Sourcemix energy subtype</td>
    <td>wind | sun | water</td>
  </tr>
   <tr>
    <td>deleteMode</td>
    <td>boolean</td>
    <td>Show item in delete mode. This will show a garbage bin icon.</td>
    <td></td>
  </tr>
  <tr>
    <td>inactive</td>
    <td>boolean</td>
    <td>Mark sourcemix as inactive.</td>
    <td></td>
  </tr>
</table>

### Events
<table width="100%">
  <thead>
    <tr>
      <td>Name</td>
      <td>Description</td>
      <td>Payload</td>
    </tr>
  </thead>
  <tr>
    <td>@click</td>
    <td>List item clicked</td>
    <td>```{ detail: { id: '1' } }```</td>
  </tr>
   <tr>
    <td>@delete</td>
    <td>List item delete button clicked</td>
    <td>```{ detail: { id: '1' } }```</td>
  </tr>
</table>
npm package: @ppcode.dev/ppcode
Description: ppcode - AI coding assistant in your terminal
Latest version: 2.1.92-9

# ppcode

> 全网首发 Claude Code 官改客户端，开箱即用。

ppcode 基于 Claude Code 官方客户端深度定制，内置关闭所有遥测功能，无需手动配置环境变量，安装即用。

## 特性

- 🔒 **遥测全关** — Datadog、OpenTelemetry、BigQuery、GrowthBook 等全部禁用，保护你的隐私
- 🔑 **API Key 认证** — 简洁的 `/login` 流程，输入 API Key 即可使用
- 🟢 **独立登录态** — 与官方 Claude Code 共存，互不干扰
- 🎨 **全新主题** — 浅绿色 UI + PP 机器人吉祥物
- 📦 **一键安装** — npm 全局安装，跨平台支持 macOS / Linux / Windows

## 安装

```bash
npm install -g @ppcode.dev/ppcode
```

## 使用

```bash
# 启动交互模式
ppcode

# 登录（输入从 ppcode.dev 获取的 API Key）
# 在 ppcode 内执行 /login

# 非交互模式
ppcode -p "你好"
```

## 获取 API Key

访问 **[ppcode.dev](https://www.ppcode.dev)** 注册账号并获取你的 API Key。

## 与官方 Claude Code 的区别

| | ppcode | 官方 Claude Code |
|---|---|---|
| 遥测 | ❌ 全部关闭 | ✅ 默认开启 |
| 认证 | API Key | OAuth + API Key |
| 登录态 | `~/.claude.json` 独立字段 | `~/.claude/.credentials.json` |
| 共存 | ✅ 不影响官方客户端 | — |

## 链接

- 🌐 **官网 & API Key**: [https://www.ppcode.dev](https://www.ppcode.dev)
- 📦 **npm**: [@ppcode.dev/ppcode](https://www.npmjs.com/package/@ppcode.dev/ppcode)
npm package: @ppd/login
Description: A login panel project
Latest version: 1.0.8

# login

> A Vue.js project

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
```

For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
npm package: @ppe.edu/image
Description: React Library Component for upload/view Image. Easy to use. Upload to server support.
Author: tien.luckyfor
Latest version: 0.1.4

# PPE React Image

React Library Component for upload/view Image. Easy to use. Upload to server support.


## Live demo

Insert gif or link to demo


## Setup

Install React Storage with npm
```bash
npm install @ppe.edu/image
```

Get API key at https://link-to-project

Add API key at ```.env``` file.
```bash
REACT_APP_CODEBY_STORAGE_URL=https://package-storage.codeby.com
REACT_APP_CODEBY_STORAGE_TOKEN=xxx
```
## Usage/Examples

```javascript
import {ImageSingleUpload, ImageView} from '@ppe.edu/image'
import {useEffect, useState} from "react";
import "@ppe.edu/image/src/ppe.edu-image.min.css";

const App = () => {
    const [value, setValue] = useState()

    useEffect(() => {
        console.log('useEffect value', value)
    }, [value])

    return (
        <>
            <ImageSingleUpload
                value={value}
                onChange={setValue}
            />
            <hr/>
            <ImageView image={value}/>
        </>
    )
}

export default App
```


## Support

For support, email ```tiennv.ppe@gmail.com``` or join our Slack channel.


## License

[MIT](https://choosealicense.com/licenses/mit/)