open-index/open-npm huggingface dataset:
npm package: @jeff-tian/math
Description: Math extended，一个 js 数学扩展包。
Author: Jeff Tian@Workstation
Latest version: 3.0.23

# `@jeff-tian/math`

---

> 一个 js 数学包。

## 功能

- 计算导数（微分）
    - $$\frac{dc}{dx} =0 当c是一个常量，或者一个与x不同的变量$$
    - $$\frac{dx}{dx}=1$$
    - $$\frac{d(u+v)}{dx}=\frac{du}{dx}+\frac{dv}{dx}$$
    - $$\frac{d(uv)}{dx}=u(\frac{dv}{dx})+v(\frac{du}{dx})$$
    - $$\frac{d(u^n)}{dx}=nu^{n-1}(\frac{du}{dx})$$

## 使用方法

```
var math = require("@jeff-tian/math")

console.log(Math.deriv(['x'], 'x'))
console.log(Math.deriv(['3', '*', 'x', '**', '2'], 'x'))
```

在线尝试： https://npm.runkit.com/%40jeff-tian%2Fmath

![](img.png)

## 谁在使用

- [极客计算器](https://jiy.azurewebsites.net/zh-CN/GeekCalculator?fns=base64%25252FWyJcXGZyYWN7ZFxcbGVmdCh4XjJcXHJpZ2h0KX17ZHh9IiwiXFxmcmFje2RcXGxlZnQoMnhcXHJpZ2h0KX17ZHh9IiwiXFxmcmFje2RcXGxlZnQoeF4zXFxyaWdodCl9e2R4fSIsIlxcZnJhY3tkXFxsZWZ0KHgreVxccmlnaHQpfXtkeH0iLCJcXGZyYWN7ZFxcbGVmdCgzeF4yXFxyaWdodCl9e2R4fSIsIlxcZnJhY3tkXFxsZWZ0KHgrM1xcbGVmdCh4K1xcbGVmdCh5KzJcXHJpZ2h0KVxccmlnaHQpXFxyaWdodCl9e2R4fSJd)


## 开发过程（局部）

https://www.zhihu.com/zvideo/1515080556539256832
npm package: @jeff-tian/me
Description: 我的个人中心
Author: jeff.tian@outlook.com
Latest version: 1.7.0

# me

> 我的个人中心

[![Build Status](https://travis-ci.com/Jeff-Tian/me.svg?branch=master)](https://travis-ci.com/Jeff-Tian/me)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=Jeff-Tian_me)](https://sonarcloud.io/dashboard?id=Jeff-Tian_me)

## 安装与运行

首先需要全局安装 cli 开发工具 @tarojs/cli

```shell
npm i -g @tarojs/cli
yarn global add @tarojs/cli
```

### 微信小程序开发

然后执行如下命令，运行完后打开微信开发者工具，选择项目根目录进行预览

```shell
npm run dev:weapp
```

### 网页版开发

```shell
npm run dev:h5
```

## 线上预览

|      网页版       |                        小程序                         |                             小程序体验版                             |
| :---------------: | :---------------------------------------------------: | :------------------------------------------------------------------: |
| https://pa-ca.me/ | ![小程序二维码](./src/images/gh_e56e6784a430_258.jpg) | ![小程序体验版二维码](./src/images/odrHN4p1UMWRdQfMK4xm9dtQXvf8.jpg) |

## 运行截图

![运行截图](https://github.com/Jeff-Tian/me/releases/download/v0.0.3/screenshot.gif)
npm package: @jeff-tian/react-codebox
Description: codebox component for react
Author: jeff-tian
Latest version: 0.3.1

# react-codebox

> 验证码输入框的 React 实现.

[![Build Status](https://travis-ci.com/Jeff-Tian/react-codebox.svg?branch=jeff-tian)](https://travis-ci.com/Jeff-Tian/react-codebox)

[在线 demo](https://jeff-tian.github.io/react-codebox/)

## Install

```bash
yarn add @jeff-tian/react-codebox
```

或者

```bash
npm i @jeff-tian/react-codebox --save
```

## Usage

```jsx harmony
import React, { Component } from "react";
import Codebox from "@jeff-tian/react-codebox";

class App extends Component {
  render() {
    return (
      <div>
        <Codebox
          type="text"
          length={4}
          validator={(input, index) => {
            return /\d/.test(input);
          }}
          onChange={codeArray => {
            console.log(codeArray);
          }}
        />
      </div>
    );
  }
}
```

### License

The [MIT License](https://github.com/jeff-tian/react-codebox/blob/master/LICENSE)
npm package: @jeff-tian/sleep
Description: > Sleep in seconds
Author: Jeff Tian
Latest version: 3.0.23

# sleep

> Sleep in seconds

[![Build Status](https://travis-ci.com/Jeff-Tian/sleep.svg?branch=master)](https://travis-ci.com/Jeff-Tian/sleep)

## Installation:

```shell
npm i @jeff-tian/sleep --save
```

## Usage:

**Notice**: the parameter is in seconds, instead of milliseconds!

```typescript
import { sleepAtLeast } from 'sleep'

// Sleep at least 3 seconds
await sleepAtLeast(3)

```

> This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).

[![Build Status](https://travis-ci.com/Jeff-Tian/sleep.svg?branch=master)](https://travis-ci.com/Jeff-Tian/sleep)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=Jeff-Tian_sleep)](https://sonarcloud.io/dashboard?id=Jeff-Tian_sleep)

## Local Development

Below is a list of commands you will probably find useful.

### `npm start` or `yarn start`

Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.

<img src="https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif" width="600" />

Your library will be rebuilt if you make edits.

### `npm run build` or `yarn build`

Bundles the package to the `dist` folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).

<img src="https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif" width="600" />

### `npm test` or `yarn test`

Runs the test watcher (Jest) in an interactive mode.
By default, runs tests related to files changed since the last commit.
npm package: @jeff-tian/stackbit-pull
Description: stackbit-pull build tool
Author: Stackbit Inc.
Latest version: 0.4.4

# stackbit-pull

Stackbit pull, is a build tool that fetches data from CMS and prepares it for
SSG build. 

Usage:
```
Usage: stackbit-pull [options]

Options:
  --stackbit-pull-api-url <stackbitPullApiUrl>  [required] stackbit pull API URL
  --stackbit-api-key <stackbitApiKey>           [required] stackbit API key, can be also specified through STACKBIT_API_KEY environment variable
  -h, --help                                    output usage information
```

- `stackbitPullApiUrl`: Stackbit pull URL, takes following form: https://api.stackbit.com/pull/<stackbitProjectId>
- `stackbitApiKey`: Stackbit API key, can be acquired in project's API Keys section in https://app.stackbit.com/dashboard. Can be also specified via STACKBIT_API_KEY environment variable.

## Examples

Using `npx`:
```
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/<stackbitProjectId> --stackbit-api-key=...
```

Using `STACKBIT_API_KEY`:
```
export STACKBIT_API_KEY=...
./stackbit-pull.js --stackbit-pull-api-url=https://api.stackbit.com/pull/<stackbitProjectId>
```
npm package: @jeff-tian/typed-jweixin
Description: TypeScript declaration for Weixin JSSDK(jweixin)
Author: Jeff Tian
Latest version: 2.0.1

# typed-jweixin

> [TypeScript](http://www.typescriptlang.org/index.html) [declaration file](http://www.typescriptlang.org/docs/handbook/writing-declaration-files.html) for Wexin JSSDK

[![npm](https://img.shields.io/npm/v/@jeff-tian/typed-jweixin.svg?style=for-the-badge)](https://www.npmjs.com/package/@jeff-tian/typed-jweixin)

[![PR Welcome](https://img.shields.io/badge/PR-welcome-blue.svg?longCache=true&style=for-the-badge)](https://github.com/jeff-tian/typed-jweixin/pulls)
![npm type definitions](https://img.shields.io/npm/types/chalk.svg?style=for-the-badge)

## About
* Based on [Weixin JS-SDK](http://res.wx.qq.com/open/js/jweixin-1.4.0.js) and it's [documentation](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115)
* Written using **[VS Code](https://code.visualstudio.com/)**

## Install
* With [`npm`](https://www.npmjs.com/) installed  
    ```sh
    $ npm install @jeff-tian/typed-jweixin --save-dev
    ```
* With [`typings`](https://github.com/typings/typings) installed  
    ```sh
    $ typings install github:Emeryao/typed-jweixin -SG
    ```
* Or find the declaration [file](./jweixin.d.ts) and include it to your project

* Then start coding with the power of **[IntelliSense](https://code.visualstudio.com/#meet-intellisense)** of VS Code

## Sample Code

* Config
    ```typescript
    let configData: Wechat.ConfigData = {};
    configData.appId = 'appid';
    configData.nonceStr = 'nonceStr';
    configData.signature = 'signature';
    configData.timestamp = 1234567;
    wx.config(configData);
    ```

* Share Timeline
    ```typescript
    let shareData: Wechat.ShareData = {};
    shareData.imgUrl = 'imgUrl';
    shareData.link = 'link';
    shareData.title = 'title';
    shareData.success = () => {
        console.log('share successed');
    };
    shareData.cancel = () => {
        console.log('cancelled');
    }
    wx.updateTimelineShareData(shareData);
    ```

* for **[`Angular`](https://angular.io)**  
    projects created with `ng new` have a `./src/tsconfig.app.json` with default content
    ```json
    {
        "extends": "../tsconfig.json",
        "compilerOptions": {
            "outDir": "../out-tsc/app",
            "types": []
        },
        "exclude": []
    }
    ```
    the line of `"types":[]` should be **removed** to make the declaration file work

## Contributors
> Thanks for your contributions

[@Emeryao](https://github.com/Emeryao)  
[@neoblackcap](https://github.com/neoblackcap)
npm package: @jeff-tian/uni
Description: TypeScript 版**云原生互联网应用开发框架**。gRPC framework in TypeScript version.
Author: jeff.tian@outlook.com
Latest version: 0.0.2

# uni

> TypeScript 版**云原生互联网应用开发框架**。

[![Build Status](https://travis-ci.com/Jeff-Tian/uni.svg?branch=master)](https://travis-ci.com/Jeff-Tian/uni)
[![Git commit with emojis!](https://img.shields.io/badge/gitmoji-git%20commit%20with%20emojis!-brightgreen.svg)](https://gitmoji.js.org)

## 特性

总体来说，Uni 框架采用了中间件的方式，来实现路由、日志等功能，并且采用 Router-Controller-Service 的架构模式，使得开发只需要关注业务逻辑，工程上的事情只需要通过配置即可完成。

## 安装

```shell
npm i @jeff-tian/uni
```

## 贡献

本库欢迎你的贡献，所有贡献者将会被列在这里。

```shell
# Fork git@github.com:Jeff-Tian/uni.git 到 yourname/uni
git clone git@github.com:<yourname>/uni.git
cd uni
npm i

git checkout -b feature/fix
npm test
git commit -am "your message"
git push
```

然后发送 PR 到这里。

## 日志

![diagram](./src/uni-logger/diagram.svg)
npm package: @jeff.lin/vue-dev-helper-mcp
Description: MCP server for Vue developers - compatibility check, redundancy detection, and security audit
Latest version: 1.0.2

# Vue Dev Helper MCP

专为 Vue 开发者设计的 MCP 服务器，提供兼容性检查、组件冗余检测和安全审计功能。

## 功能

### 🔍 analyze_vue_compatibility
检查 Vue 插件和依赖的兼容性：
- 是否支持 Vue 3 和 Composition API
- 是否与 Vite 版本冲突
- 检测过时的依赖

### 🔄 check_component_redundancy
扫描并检测组件库冗余：
- 识别多个全功能 UI 库
- 检测私有组件库与三方库的重复
- 发现移动端和桌面端 UI 库混用

### 🔒 security_audit_vue
Vue 项目安全审计：
- 扫描 v-html 指令滥用（XSS 风险）
- 检查依赖漏洞
- 提供安全建议

## 安装

```bash
npm install @jeff.lin/vue-dev-helper-mcp
```

## 配置

在 Kiro 的 MCP 配置文件（`.kiro/settings/mcp.json`）中添加：

```json
{
  "mcpServers": {
    "vue-dev-helper": {
      "command": "npx",
      "args": ["-y", "@jeff.lin/vue-dev-helper-mcp"]
    }
  }
}
```

或使用本地路径：

```json
{
  "mcpServers": {
    "vue-dev-helper": {
      "command": "node",
      "args": ["path/to/vue-dev-helper-mcp/index.js"]
    }
  }
}
```

## 使用

配置完成后，在 Kiro 中可以直接调用工具：

```
你: 帮我检查这个 Vue 项目的兼容性 E:/my-vue-app
Kiro: [调用 analyze_vue_compatibility 工具并返回报告]

你: 检查一下有没有重复的 UI 组件库
Kiro: [调用 check_component_redundancy 工具]

你: 做个安全审计
Kiro: [调用 security_audit_vue 工具]
```

## 开发

```bash
# 安装依赖
npm install

# 启动服务器
npm start
```

## 依赖

- Node.js >= 18
- @modelcontextprotocol/sdk
- semver

## License

MIT
npm package: @jeff9511/eslint-config-jeff
Description: jeff9511 config for eslint
Author: jeff9511
Latest version: 1.0.2

# @jeff9511/stylelint-config-jeff
[![npm（scoped）](https://img.shields.io/badge/npm-1.0.0-brightgreen)](https://github.com/lqk9511/stylelint-config-jeff)

## Install
```sh
npm install --save-dev @jeff9511/eslint-config-jeff
# or
yarn add @jeff9511/eslint-config-jeff --dev
```

## Usage

.eslintrc

```json
{
  "extends": "@jeff9511/eslint-config-jeff"
}
```
npm package: @jeff9511/stylelint-config-jeff
Description: jeff9511 config for stylelint
Author: jeff9511
Latest version: 1.0.9

# @jeff9511/stylelint-config-jeff
[![npm（scoped）](https://img.shields.io/badge/npm-1.0.9-brightgreen)](https://github.com/lqk9511/stylelint-config-jeff)

## Install
```sh
npm install --save-dev @jeff9511/stylelint-config-jeff
# or
yarn add @jeff9511/stylelint-config-jeff --dev
```

## Usage

.stylelintrc

```json
{
  "extends": "@jeff9511/stylelint-config-jeff"
}
```