open-index/open-npm huggingface dataset:
npm package: @mikefd097021/mcp-server-test
Description: 一個簡單的加減法計算器 MCP 伺服器
Author: mikefd097021
Latest version: 1.0.2

# MCP 計算器伺服器

這是一個簡單的 MCP (Model Context Protocol) 計算器伺服器，提供基本的加減運算功能。

## 功能

- 支援基本的加減運算
- 完整的輸入驗證
- 清晰的錯誤提示

## 使用方法

### 透過 npx 使用

在 VS Code 的 MCP 設定檔中加入：

```json
{
  "mcpServers": {
    "calculator": {
      "command": "cmd /c npx -y",
      "args": ["@mikefd097021/mcp-server-test"],
      "disabled": false,
      "autoApprove": []
    }
  }
}
```

### 本地開發

1. 克隆倉庫：
```bash
git clone [repository-url]
cd mcp-server-test
```

2. 安裝依賴：
```bash
npm install
```

3. 建置專案：
```bash
npm run build
```

4. 本地測試：
```bash
npm link
npx mcp-server-test
```

## API

### calculate

執行基本的加減運算。

參數：
- `operand1` (number, 必要): 第一個數字
- `operand2` (number, 必要): 第二個數字
- `operator` (string, 必要): 運算符（'+' 或 '-'）

回傳：
- 計算結果文字，格式為：`計算結果: [operand1] [operator] [operand2] = [result]`

## 授權

MIT
npm package: @mikefeng110808/micro-util
Description: @mikefeng110808/micro-util
Author: Mike Feng
Latest version: 1.1.1

# micro-util
前端接口分离工具类

## config 配置项  
1. init() 初始化  
2. set({pre, httpUrl}) 设置ws前缀(pre),http地址  
3. setWebsocketUrl(pk) 设置ws的后缀地址  
4. setSWFLocation(location)) 设置swf文件地址  
## convertTree 树状图转化  
convertTree(data, isChildFn, contentFn, idFun, getChildrenFun)
data: 数据
isChildFn: 是否是子节点的方法
contentFn: 内容的生成方法
idFun: id的生成方法
getChildrenFun: 获取子节点的生成方法
## faceIco 微信图标转换  
1. imgIco 图标对象
2. replaceOut(str) 图标转换为图片
3. replaceIn(str) 图片转换为图标
4. repalceToAlert(str, ico) 图标转换为标签
##  mobileInput 手机输入框拉伸
1. init({fail, success}) 初始化 设置调用成功或失败后的返回
2. startCheck() 开始检测
3. end() 结束检测
6. focusAfterInsert() 在插入后重新聚焦
##  storeImg 保存已展示的图片
storeImg.store({imgs, callback}) 
imgs: 图片地址数组
callback: 存储成功后回调方法
##  httplink 访问http地址
httplink(name, url, data, type='get', async=true)
name: 方法名,每个项目唯一
url: 访问地址
data: 访问数据
type: 类型, get post postJson postForm
async: 是否异步
##  jsonplink 访问jsonp地址
jsonplink(name, url, data, type='jsonp', async=true, jsonpCallback='jsonpCallback', jsonpName = 'jsonpCallback')
name: 方法名,每个项目唯一
url: 访问地址
data: 访问数据
type: 类型, get post postJson postForm
async: 是否异步
jsonpCallback: 回调
jsonpName: jsonp名称
##  DataHandle 数据类型的父类
1. before(key, callback) 在数据处理事件前回调 
2. after(key, callback) 在数据处理事件后回调  
样例:
class Class extends DataHandle{
  constructor(name)
}
##  Handle 事件类型的父类
1. before(key, callback) 在事件前回调 
2. after(key, callback) 在事件后回调  
样例:
new Handle({name:''})
##  EventBus(keyFrame, websocketFrame, httpFrame) 事件监听
1. push(keys, obj, logStr) 推送事件
2. addHandler(handlerName, keys, callback) 增加监听
3. removeHandler(handlerName, key) 删除监听
4. getHandler(handlerName, key, obj) 获取监听
5. before(key, callback) 在监听前回调  
6. after(key, callback) 在监听后回调  
## storage 缓存localstorage
1. get(key) 获取
2. set(key, value) 设置
3. clear(key) 清理单一
4. clearAll() 清理所有
##  logger 日志系统
1. init() 初始化
2. saveAsFile() 将日志保存为文件
3. setLevel(level) 设置日志转换的层级 高到底 0 不使用日志系统, 6 使用地址但不显示在控制台中, 1 log, 2 info, 3 debug, 4 error, 5 warn
4. setOnly(boolean) 设置是否只访问当前层级的日志
5. saveTextAs(content, name, encode='utf-8') 保存为文件
6. saveAs(blob,name) 保存
7. getData(type, msg) 获取日志中的数据 类型,字符串
8. setSaveFile(can) 设置是否在关闭浏览器时导出日志
9. setUIDsiplay 设置可视化界面是否在初始化时显示
10. show() 显示可视化界面
11. hide() 隐藏可视化界面
## websocket 
1. init(data) 先测试后初始化
2. closeManager() 关闭
3. sendMsg(msg) 发送消息
4. isClose() 检测是否关闭
5. initSingle(data) 开启单个初始化
6. setConnectLimit(number) 设置断线重连次数 -1 将不进行断线重连
## register(displayHandle, displayData) 请不要单独使用
对象注册机制,实现在DataHandle, Handle中
1. install 注册对象
2. display 展示对象
3. displayAll 展示所有对象
4. displayHandle 展示事件类型对象
5. displayData 展示数据类型对象
npm package: @mikefeng110808/vue-html
Description: @mikefeng110808/vue-html
Author: Mike Feng
Latest version: 1.0.2-alpha.23

# instance + axios + vue 
( ) 核心代码: @mikefeng110808/instance  
( ) api : http使用 axios  
( ) ui : 耦合 vue (组件参考elemtn-ui)  
( ) websocket : 新建
npm package: @mikefeng110808/vue-html-compiler
Description: @mikefeng110808/vue-html-compiler
Author: Mike Feng
Latest version: 1.0.2-alpha.23

# instance + axios + vue 
( ) 核心代码: @mikefeng110808/instance  
( ) api : http使用 axios  
( ) ui : 耦合 vue (组件参考elemtn-ui)  
( ) websocket : 新建
npm package: @mikefeng110808/vue-instance
Description: @mikefeng110808/vue-instance
Author: Mike Feng
Latest version: 1.0.2-alpha.23

# instance + axios + vue 
( ) 核心代码: @mikefeng110808/instance  
( ) api : http使用 axios  
( ) ui : 耦合 vue (组件参考elemtn-ui)  
( ) websocket : 新建
npm package: @mikefeng110808/vue-ui-component-merge-html
Description: @mikefeng110808/vue-ui-component-merge-html
Author: Mike Feng
Latest version: 1.0.2-alpha.23

# instance + axios + vue 
( ) 核心代码: @mikefeng110808/instance  
( ) api : http使用 axios  
( ) ui : 耦合 vue (组件参考elemtn-ui)  
( ) websocket : 新建
npm package: @mikefinch/ezffmpeg
Description: The eziest way to use ffmpeg
Author: coldshower
Latest version: 1.1.5

![ezffmpeg banner](https://github.com/ezffmpeg/ezffmpeg/blob/main/docs/assets/ezffmpeg-banner.png?raw=true)
> **This fork has been fully rewritten in TypeScript, refactored for clarity, now includes simple unit tests, and introduces a strategy-based abstraction over the ffmpeg implementation.**

A simple and powerful Node.js wrapper for ffmpeg that makes editing videos easy

[Demo](https://ezffmpeg.github.io/ezffmpeg) | [Full Documentation](https://ezffmpeg.github.io/ezffmpeg/docs.html)

## Features

* 🎥 Easy video concatenation
* 📐 Video scaling and padding
* 🔊 Audio processing and volume control
* 0️⃣ Zero dependencies besides ffmpeg
* 💬 Text overlay support
* 🎯 Position and timing control
* 🎨 Font customization and text effects
* 🛠️ Strategy-based ffmpeg implementation abstraction

## Installation

```bash
npm install @mikefinch/ezffmpeg
```

**Optional**: if you use the default ffmpeg strategy, ensure you have ffmpeg installed on your system:

* **Mac**: `brew install ffmpeg`
* **Ubuntu/Debian**: `apt-get install ffmpeg`
* **Windows**: Download from [ffmpeg.org](https://ffmpeg.org/download.html)

Otherwise, you can provide your own ffmpeg implementation (via the strategy abstraction), or omit ffmpeg entirely by supplying a no-op strategy.

## Quick Start

**1. Import the package**

```typescript
import ezffmpeg from '@mikefinch/ezffmpeg';
```

**2. Create a project**

The `ezffmpeg` constructor accepts a generic type parameter for strategy-specific options. The default strategy doesn’t require extra options, so its generic defaults to `{}` and you **can** omit it:

```typescript
const project = new ezffmpeg({
  width: 1920,
  height: 1080,
  fps: 30,
  strategy: LocalFfmpegStrategy,
});
```

If your custom strategy requires its own options interface (e.g. `MyStrategyOptions`), you can pass it explicitly:

```typescript
const MyFfmpegStrategy: FfmpegStrategy<{ param: number }> = {
  ffmpeg: async (command, options) => {
    // impl with options.param
  },

  ffprobe: async (command) => {
    // impl
  }
}
const project = new ezffmpeg<{ param: number }>({
  width: 1920,
  height: 1080,
  fps: 30,
  strategy: MyFfmpegStrategy,
});
```

**3. Load clips into the project** Load clips into the project\*\*

```typescript
await project.load([
  {
    type: 'video',
    url: 'path/to/cat.mp4',
    position: 0,
    end: 3,
  },
  {
    type: 'video',
    url: 'path/to/cat2.mp4',
    position: 3,
    end: 6,
  },
  {
    type: 'audio',
    url: 'path/to/music.mp4',
    position: 0,
    end: 6,
  },
  {
    type: 'text',
    text: 'this is so ez',
    position: 0,
    end: 3,
    fontSize: 50,
    fontColor: 'white',
    borderWidth: 5,
    borderColor: '#000000',
  },
]);
```

**4. Export**

You can now pass the output file path directly:

```typescript
await project.export('final.mp4', {param: 3});
```

## Documentation

Find the full API documentation [here](https://ezffmpeg.github.io/ezffmpeg).
npm package: @mikefrancis/strata.js
Description: ## Installation
Latest version: 1.0.2

# strata.js

## Installation

```html
<script
  type="text/javascript"
  src="https://unpkg.com/@mikefrancis/strata.js@1/dist/index.js"
></script>
<script>
  window.Strata.init("your_api_key");
</script>
```

## Usage

### Page tracking

```javascript
window.Strata.page();
```
npm package: @mikegin/react-native-superwall
Description: The React Native package for Superwall
Author: Superwall
Latest version: 0.0.1

<p align="center">
  <br />
  <img src=https://user-images.githubusercontent.com/3296904/158817914-144c66d0-572d-43a4-9d47-d7d0b711c6d7.png alt="logo" height="100px" />
  <h3 style="font-size:26" align="center">In-App Paywalls Made Easy 💸</h3>
  <br />
</p>

[Superwall](https://superwall.com/) lets you remotely configure every aspect of your paywall — helping you find winners quickly.

## Superwall

**Superwall** is an open source framework that provides a wrapper for presenting and creating paywalls. It interacts with the Superwall backend letting you easily iterate paywalls on the fly in `React Native`!

## Features
|   | Superwall |
| --- | --- |
✅ | Server-side paywall iteration
🎯 | Paywall conversion rate tracking - know whether a user converted after seeing a paywall
🆓 | Trial start rate tracking - know and measure your trial start rate out of the box
📊 | Analytics - automatic calculation of metrics like conversion and views
✏️ | A/B Testing - automatically calculate metrics for different paywalls
📝 | [Online documentation](https://superwall.com/docs/home) up to date
🔀 | [Integrations](https://superwall.com/docs/home) - over a dozen integrations to easily send conversion data where you need it
💯 | Well maintained - [frequent releases](https://superwall.com/docs/home)
📮 | Great support - email a founder: jake@superwall.com

## Installation

---

## Getting Started

[Sign up for a free account on Superwall](https://superwall.com/sign-up) and [read our docs](https://superwall.com/docs/home).

## Contributing

Please see the [CONTRIBUTING](.github/CONTRIBUTING.md) file for how to help.
npm package: @mikegoogz/checkout-demo
Description: Webcomponent checkout-demo following open-wc recommendations
Author: checkout-demo
Latest version: 0.0.2

# \<checkout-demo>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## Installation

```bash
npm i @mikegoogz/checkout-demo
```

## Usage

```html
<script type="module">
  import '@mikegoogz/checkout-demo/checkout-demo.js';
</script>

<checkout-demo></checkout-demo>
```

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to minimize the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm start
```

To run a local development server that serves the basic demo located in `demo/index.html`
npm package: @mikehanssen/now-cherrypy
Description: A expiriment to deploy cherrypy projects to now.sh v2. The package is cloned from the @now/python library. However, instead of starting a simple HTTP server the now_handler start the CherryPy thread. We do this by starting the actual CherryPy server and w
Latest version: 0.0.5

# NOW-CHERRYPY
A expiriment to deploy cherrypy projects to now.sh v2. The package is cloned
from the @now/python library. However, instead of starting a simple HTTP server
the now_handler start the CherryPy thread. We do this by starting the actual
CherryPy server and waiting for the server to come online. 

All other services have stayed the same. This is just an expiriment to test out
other python framework now that now.sh v2 is out. 

**DO NOT USE THIS IN PRODUCTION FOR WHATEVER REASON**.