open-index/open-npm huggingface dataset:
npm package: @jianxcao/mock
Description: 1. `npm install @jianxcao/mock`
Latest version: 0.0.7

# mock middleware

1. `npm install @jianxcao/mock`


## clone from https://github.com/umijs


## mock file


``` javascript

module.exports = {
    // Support type as Object and Array
    'GET /api/users': {
      users: [1, 2]
    },
    
    'GET /api/params': (req, res, next) => {
      console.log(req.query);
      res.body = {
        id: 225672
      }
    },
    // Method like GET or POST can be omitted
    '/api/users/1': {
      id: 1
    },
    'GET /api/uses/45': {
      code: 0,
      data: [],
      msg: '323'
    },
    'GET /api/:id': (req, res, next) => {
      res.body = {
        id: req.params.id
      };
  
    },
  
    'POST /api/users': (req, res, next) => {
      res.body = {
        id: 222
      }
    },
    'POST /api/other': (req, res, next) => {
      res.body = {
        id: 222
      }
    }
  };
  

```

please see [path-to-regexp](https://github.com/pillarjs/path-to-regexp)
npm package: @jianxing/auto-check-update
Description: Automatically checks for updates to your site and notifies you
Author: Jianxing Xu
Latest version: 0.0.10

# @jianxing/auto-check-update

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]

Automatically checks for updates to your site and notifies you

# Install

```bash
npm i @jianxing/auto-check-update
```

# Usage

```js
import { start } from '@jianxing/auto-check-update'

// main.js
start({
  onNotify() {
    // exec your code
    return true // Return true to stop checking.
  },
  time: 2000 // interval
})
```

# License

[MIT](./LICENSE) License © 2024-PRESENT [Jianxing Xu](https://github.com/jianxing-xu)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@jianxing/auto-check-update?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@jianxing/auto-check-update
[npm-downloads-src]: https://img.shields.io/npm/dm/@jianxing/auto-check-update?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://github.com/jianxing-xu/auto-check-update/archive/refs/heads/main.zip
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@jianxing/auto-check-update?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=@jianxing/auto-check-update
[license-src]: https://img.shields.io/github/license/antfu/@jianxing/auto-check-update.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/antfu/@jianxing/auto-check-update/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/@jianxing/auto-check-update
npm package: @jianxing/jx
Description: Personal CLI tool
Author: Jianxing Xu
Latest version: 0.0.13

# jx

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]

Personal CLI tool

- [x] Cloen repo
- [x] Common text snippets
- [ ] ...

## Install

```bash
#pnpm
pnpm i -g @jianxing/jx
# npm
npm i -g @jianxing/jx
# yarn
yarn add -g @jianxing/jx
```

##  Usage

### Command

```bash
# jx config
jx config repoUrl=xxx # common text snippets repo url
jx config accessToken=xxx # auth account token, generate by Profile -> Settings -> Developer settings -> Personal access tokens -> Tokens(classic) or Fine-grained tokens

# jx repo
jx repo # show all common text list
jx repo <filePath> # get a file content
jx repo <filePath> -d # delete a file
jx repo <filePath> "some content" -s # put some content to file
jx repo <filePath> "some content" -sn # create a file with content
jx repo <filePath> "some content" -a # append content to a file

# jx start <repo> [owner] [ref]，owner defult is self
jx start <repo> # clone <repo>
jx start <repo> [owner] # clone <repo> of [owner]
jx start <repo> [owner] [ref] # ref is branch or tag or commitHash

```

## License

[MIT](./LICENSE) License © 2023-PRESENT [Jianxing Xu](https://github.com/jianxing-xu)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/jx?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/jx
[npm-downloads-src]: https://img.shields.io/npm/dm/jx?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/jx
[bundle-src]: https://img.shields.io/bundlephobia/minzip/jx?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=jx
[license-src]: https://img.shields.io/github/license/jianxing-xu/jx.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/jianxing-xu/jx/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/jx
npm package: @jianye-org/oad
Description: OpenApi Specification Diff tool
Author: Microsoft Corporation
Latest version: 0.8.0

[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/public.openapi-diff?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=135&branchName=master)

# How to install

```javascript
npm install -g @azure/oad
```

## git Usage

```bash
vishrut@visshamac openapi-diff $ oad compare --help
Commands:
  compare <old-spec> <new-spec>  Compares old and new open api specification for
                                 breaking changes.

Options:
  --version          Show version number                               [boolean]
  -l, --logLevel     Set the logging level for console.
  [choices: "off", "json", "error", "warn", "info", "verbose", "debug", "silly"]
                                                               [default: "warn"]
  -f, --logFilepath  Set the log file path. It must be an absolute filepath. By
                     default the logs will stored in a timestamp based log file
                     at "/Users/vishrut/oad_output".
  -j, --inJson       A boolean flag indicating whether output format of the
                     messages is json.                 [boolean] [default: true]
  -h, --help         Show help                                         [boolean]
  -o, --oldTagName   The tag name for the old specification file.  If include it 
                     indicates that the old spec file is a readme file
  -n, --newTagName   The tag name for the new specification file.  If include it 
                     indicates that the new spec file is a readme file
```

## Build dependencies

* [Node](https://nodejs.org) (10 or higher)
* [Node Package Manager](https://www.npmjs.com/package/npm)
* [.NET CLI tools](https://github.com/dotnet/cli/releases) version 2.0.0 or higher
  > You want the **.NET Core SDK Binaries** for your platform <br>
  >
  > `dotnet --version` <br>
 > `2.0.2` <br>

## Build scripts

### How to build

The first step would be to run `npm install` so we have all the required modules installed.

#### How to build the whole repo

```javascript
gulp;
```

### How to test

To run all tests under the repo

```javascript
gulp test
```

### How to bundle node package & install

```javascript
gulp pack
npm install -g oad-0.1.0.tgz
```

# Contributing

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
npm package: @jianye-org/rest-api-specs-scripts
Description: Scripts for the forked Azure RestAPI specification repository 'azure-rest-api-specs'.
Author: Microsoft Corporation
Latest version: 0.9.4

[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/tools/public.rest-api-specs-scripts?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=221&branchName=master)

# Contributing

This project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
npm package: @jianyuexuan/claude-code-notifier
Description: Bridge Claude Code notifications to WeChat via VoiceBrain
Latest version: 0.2.6

# @jianyuexuan/claude-code-notifier

Bridge Claude Code ↔ WeChat via VoiceBrain. Get notified on your phone when Claude Code completes a task, and reply from WeChat to continue — with multi-session support.

## How It Works

```
Notify: Claude Code → Stop Hook → HTTP → VoiceBrain → WeChat
        "✅ [notifier#abc] 任务完成: Built login page"

Reply:  "@notifier#abc 继续"
        → WeChat → VoiceBrain → MCP Tool → osascript (cwd-targeted) → Claude Code
```

## Install

**In VoiceBrain:**

1. Open Extensions → + Add → MCP Service
2. Fill in:
   - **ID:** `claude-code-notifier`
   - **Command:** `npx`
   - **Args:** `-y` then `@jianyuexuan/claude-code-notifier`
   - **Auto-start:** enabled
3. Save. Done — Claude Code hooks are auto-configured on first launch.

## Multi-Session Support

Each Claude Code session gets a unique label like `notifier#abc`:
- `notifier` — project directory name
- `#abc` — unique session ID suffix

Reply with the label prefix: `@notifier#abc continue`

If only one session exists for a project, just use: `@notifier continue`

## Configuration

Config file: `~/.claude-code-notifier/config.json` (auto-generated)

```json
{
  "voicebrainUrl": "http://localhost:18526",
  "voicebrainToken": "auto-detected",
  "httpPort": 18090
}
```

## Requirements

- macOS (uses osascript for terminal input)
- VoiceBrain with OpenClaw WeChat connected
- Claude Code CLI
- Node.js >= 18