open-index/open-npm huggingface dataset:
npm package: @qix/s-cookie
Description: A document.cookie binding for S.js signals
Author: Josh Junon
Latest version: 0.1.2

# s-cookie

`document.cookie` binding for S.js signals.

## Usage

```console
$ npm i --save @qix/s-cookie
```

> **CAVEAT:** There are (currently) no events to detect when a document's cookie
> value has changed. Thus, we elect to poll every 100 milliseconds. This means
> that multiple changes to a cookie may only update the signal with the final
> value. Further, we do not check previous values before updating - therefore,
> using `S.data` as the factory parameter (which otherwise defaults to `S.value`)
> will cause any dependent S computations to run 10 times a second, uncondtionally.
> Because of this, using the factory parameter is not recommended unless you have
> a _really_ good reason to use something other than `S.value`.

```javascript
import cookieSignal from '@qix/s-cookie';

const session_id = cookieSignal(
	// cookie name to bind to
	'session_id',

	// (optional) options object
	{
		// (optional) initial value
		// (defaults to null)
		init: '1234',

		// (optional, not recommended) signal factory - 
		// either S.value (the default) or S.data
		// (defaults to S.value)
		factory: S.value,

		// (optional) the Domain on which to set the cookie
		// (defaults to null)
		domain: "some.domain.com",

		// (optional) the Path on which to set the cookie
		// (defaults to null)
		path: "/",

		// (boolean, optional) if true, sets Secure
		// (defaults to false)
		secure: true
	}
);

S.root(() => {
	// Signal -> Cookie binding
	console.log(document.cookie); //-> session_id=1234
	session_id("5678");
	console.log(document.cookie); //-> session_id=5678

	// Cookie -> Signal binding (latency: 100ms)
	console.log(session_id()); //-> 5678
	document.cookie = 'session_id=abcd';
	console.log(session_id()); //-> abcd (may take 100ms to show up)

	// Expiration (by signal)
	console.log(document.cookie) //-> session_id=abcd
	session_id(null);
	console.log(document.cookie) // <no output>

	// Expiration (via cookie expiration)
	//  (setting the age to max-age=0 forces expiration, but
	//  this will also be the case if the server sets an expiration
	//  date/time or a maximum age as well)
	session_id('wxyz');
	document.cookie = 'session_id=; max-age=0';
	console.log(session_id()); //-> null
});
```

# License
Copyright &copy; 2019 by Josh Junon. Released under the MIT License.
npm package: @qix/webcola
Description: Fork of WebCola, without D3 and as ESM modules
Author: Tim Dwyer
Latest version: 4.0.0

WebCola [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
=======

JavaScript constraint based layout for high-quality graph visualization and exploration 
using D3.js and other web-based graphics libraries.

<p align="center">
  <a href="http://marvl.infotech.monash.edu/webcola/examples/smallworldwithgroups.html">
    <img width="400" alt="Graph with simple groups" src="WebCola/examples/smallworldwithgroups.png" />
  </a>
  <a href="http://marvl.infotech.monash.edu/webcola/examples/alignment.html">
    <img width="400" alt="Graph with alignment constraints" src="WebCola/examples/alignment.png" />
  </a>
</p>

[Homepage with code and more examples](http://marvl.infotech.monash.edu/webcola)

Note: While D3 adaptor supports both D3 v3 and D3 v4, WebCoLa's interface is styled like D3 v3. Follow the setup in our homepage for more details.

Installation
------------

#### Browser:
```html
<!-- Minified version -->
<script src="http://marvl.infotech.monash.edu/webcola/cola.min.js"></script>
<!-- Full version -->
<script src="http://marvl.infotech.monash.edu/webcola/cola.js"></script>
```

The minified version can also be accessed from [jsDelivr](https://cdn.jsdelivr.net/gh/tgdwyer/WebCola/WebCola/cola.min.js).

#### Npm:
	
	npm install webcola --save

You can also install it through npm by first adding it to `package.json`:

    "dependencies": {
      "webcola": "latest"
    }
Then by running `npm install`.

#### Bower:

	bower install webcola --save

If you use TypeScript, you can get complete TypeScript definitions by installing [tsd 0.6](https://github.com/DefinitelyTyped/tsd) and running `tsd link`.

Building
--------

*Linux/Mac/Windows Command Line:*

 - install [node.js](http://nodejs.org)
 - install grunt from the command line using npm (comes with node.js):

        npm install -g grunt-cli

 - from the WebCola directory:

        npm install

 - build, minify and test:

        grunt

This creates the `cola.js` and `cola.min.js` files in the `WebCola` directory, generates `index.js` for npm, and runs tests.

*Visual Studio:*

 - get the [typescript plugin](http://www.typescriptlang.org/#Download)
 - open webcola.sln

Running
-------

*Linux/Mac/Windows Command Line:*

Install the Node.js http-server module:

    npm install -g http-server

After installing http-server, we can serve out the example content in the WebCola directory.

    http-server WebCola

The default configuration of http-server will serve the exampes on [http://localhost:8080](http://localhost:8080).
npm package: @qixian.cs/github-contributors-list
Description: A react library developed with dumi
Latest version: 2.0.2

# @qixian.cs/github-contributors-list

[![NPM version](https://img.shields.io/npm/v/@qixian.cs/github-contributors-list.svg?style=flat)](https://npmjs.org/package/@qixian.cs/github-contributors-list)
[![NPM downloads](http://img.shields.io/npm/dm/@qixian.cs/github-contributors-list.svg?style=flat)](https://npmjs.org/package/@qixian.cs/github-contributors-list)

A react library developed with dumi

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ pnpm install

# develop library by docs demo
$ pnpm start

# build library source code
$ pnpm run build

# build library source code in watch mode
$ pnpm run build:watch

# build docs
$ pnpm run docs:build

# check your project for potential problems
$ pnpm run doctor
```

## LICENSE

MIT
npm package: @qixian.cs/sarif-web-component
Description: Sarif Viewer
Author: Microsoft
Latest version: 0.6.0-19

[![npm version](https://img.shields.io/npm/v/@microsoft/sarif-web-component.svg?style=flat)](https://www.npmjs.com/package/@microsoft/sarif-web-component)

# SARIF Web Component

A React-based component for viewing [SARIF](http://sarifweb.azurewebsites.net/) files. [Try it out](https://microsoft.github.io/sarif-web-component/).

## Usage

```
npm install @microsoft/sarif-web-component
```

```js
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Viewer } from '@microsoft/sarif-web-component';

ReactDOM.render(<Viewer logs={arrayOfLogs} />, document.body.firstChild);
```

In the HTML page hosting this component, `<meta http-equiv="content-type" content="text/html; charset=utf-8">` is required to avoid text rendering issues.

## Publishing

Update the package version. Run workflow `Publish`. Make sure Repository secret `NODE_AUTH_TOKEN` exists.

## Publishing (Manual)

In your local clone of this repo, do the following. Double-check `package.json` `name` in case it was modified for development purposes.

```
git pull
npm install
npx webpack --config ./webpack.config.npm.js
npm login
npm publish
```

For a scoped non-paid accounts (such as for personal testing), publish would require: `npm publish --access public`. For a dry-run publish: `npm publish --dry-run`. Careful: the typo `--dryrun` results in a real publish.

## Publishing (Local/Private)

As needed, run `git pull` and `npm install`. Then...

```
npx webpack --config ./webpack.config.npm.js
npm pack
```

Our convention is to move/keep the tarballs in the `packages` directory.

## Bundle Size Analysis

In `webpack.config.common.js` temporarily disable `stats: 'minimal'`.

```
npx webpack --profile --json > stats.json
npx webpack-bundle-analyzer stats.json
rm stats.json
```

## 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: @qixin-api/apiservice-mcp
Description: Qixin API Service MCP Server - A Model Context Protocol server for enterprise information queries
Author: Jeshurun
Latest version: 0.0.6

# @qixin-api/apiservice-mcp

启信宝MCP是[基于启信开放平台](https://data.qixin.com/api?from=qxb-c-api)现有接口，赋能AI大模型快速获取启信开放平台所有API接口数据，在此基础上开展进一步分析处理，通过快速、安全、精准获取并处理企业数据，打通从数据获取到智能决策的“最后一公里”。以查询公司法人信息为例，业务人员在提问后，AI大模型会分析链接的MCP有无相关数据，若有则返回结构化数据，最终由AI大模型结合提问生成自然语言回答，在大幅提升效率的同时，也保证了数据传输的准确性与安全性。

## 数据维度 

- **企业搜索**：支持关键词模糊匹配查找企业
- **企业信息查询**：获取详细的工商信息、股东结构、主要高管及经营状况等数据
- **风险分析**：多维度综合风险评估
- **高管信息**：查询公司高管详细资料及背景
- **法律信息**：诉讼统计及法律程序数据

## 安装方法

```bash
npm install -g @qixin-api/apiservice-mcp
```

或直接使用 npx 运行：

```bash
npx @qixin-api/apiservice-mcp
```

## 配置方法

在使用本 MCP 服务前，需要将企信 API 的凭证设置为环境变量：

```bash
export QIXIN_APP_KEY="your_app_key_here"
export QIXIN_SECRET_KEY="your_secret_key_here"
```

## 如何获取启信key
* [登录启信开放平台注册获取](https://data.qixin.com/?from=qxsj-MCP)
* 联系我们，我们会为您提供：
![二维码](https://i.miji.bid/2025/06/04/4d44829a82abaa4dc5fc560bf1b9014b.png)
## 搭配 Claude Desktop 使用

在 `claude_desktop_config.json` 中添加如下配置：

```json
{
  "mcpServers": {
    "qixin-apiservice": {
      "command": "npx",
      "args": ["@qixin-api/apiservice-mcp"],
      "env": {
        "QIXIN_APP_KEY": "your_app_key_here",
        "QIXIN_SECRET_KEY": "your_secret_key_here"
      }
    }
  }
}
```

## 当前可用接口列表 （更多接口可支持定制开发）
1. advSearch
   使用关键词进行企业模糊搜索。

2. getEnterpriseInfo
   获取企业的全面信息，包括工商详情、股东、高管和经营状况等。

3. getAllRiskInfo
   获取企业在工商、法律、财务、税务等多维度的综合风险信息。

4. getAllPersonInfo
   查询企业高管的详细信息，包括任职、投资及风险情况等。

5. sumLawsuit
   获取企业整体诉讼统计，包括裁判文书、开庭公告、执行公告、法院公告等。
npm package: @qiyuor2/anitabi-mcp-server
Description: 提供动画巡礼地图服务的 MCP 服务器，支持动画作品搜索和巡礼地点信息查询
Author: QiYuOr2
Latest version: 1.1.2

# anitabi-mcp-server

- [anitabi 巡礼地图](https://anitabi.cn/map)
- [anitabi 文档](https://github.com/anitabi/anitabi.cn-document)

## 使用方式

### NPX

```json
{
  "mcpServers": {
    "anitabi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@qiyuor2/anitabi-mcp-server"
      ]
    }
  }
}
```

## 本地开发

### 配置

```json
{
  "mcpServers": {
    "anitabi-mcp-server": {
      "command": "node",
      "args": [
        "C:\\Users\\11762\\@qiyuor2\\anitabi-mcp-server\\dist\\index.cjs"
      ]
    }
  }
}
```

### 发布

```bash
pnpm publish --access=public
```

## License

[MIT](./LICENSE) License © [QiYuOr2](https://github.com/QiYuOr2)

<!-- Badges -->
npm package: @qiyuor2/utils
Description: 一些自己积累的工具函数
Author: qiyuor2
Latest version: 0.0.1-alpha.4

# 自用工具库

是一些自己积累的工具函数

```js
import { pipe, random, map } from '@qiyuor2/utils'

const test = pipe(map(() => /* do something */ value), random)


console.log(test([1, 2, 3]))
```
npm package: @qjerry/chart-node-g6
Description: The Chart Toolkit of G6 Graph Node, change devDependencies
Author: https://github.com/orgs/antvis/people
Latest version: 0.0.5

### @antv/chart-node-g6

自定义 G6 图表节点的工具包。

在一些复杂的场景中，需要的节点类型也比较复杂，如在节点中展示某类数据的分布、趋势等，就像下面的节点：

<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*D00uR5wb__kAAAAAAAAAAABkARQnAQ' width=220 />

为了方便用户在使用 G6 自定义节点时支持统计图表，我们基于 G2 封装了 @antv/chart-node-g6 工具包，该工具包支持将 G6.registerNode / G6.registerEdge / G6.registerCombo 方法中的第二个参数 group 作为容器。除过不支持交互外，其他使用方式基本和 G2 的用法完全一致。

#### 自定义带有统计图表的节点
定义上面节点的代码如下所示。

```
import G6 from '@antv/g6'
import Chart from '@antv/chart-node-g6'

G6.registerNode('node-with-interval', {
  draw(cfg, group) {
    const keyShape = group.addShape('rect', {
      attrs: {
        x: 0,
        y: 0,
        width: 400,
        height: 200,
        fill: cfg.style.fill
      }
    })

    group.addShape('rect', {
      attrs: {
        x: 0,
        y: 0,
        width: 400,
        height: 40,
        fill: '#69c0ff'
      }
    })

    group.addShape('text', {
      attrs: {
        text: '浏览申请完成率',
        x: 10, 
        y:25,
        fontSize: 14,
        fill: '#fff' 
      }
    })

    group.addShape('text', {
      attrs: {
        text: '2020-06-07 ~ 2020-06-14 | 均值',
        x: 20,
        y: 70,
        fontSize: 13,
        fill: '#8c8c8c'
      }
    })

    group.addShape('text', {
      attrs: {
        text: '8.8%',
        x: 20,
        y: 110,
        fontSize: 30,
        fill: '#000'
      }
    })

    // 统计图表部分
    const view = new Chart({
      group,
      region: {
        start: {
          x: 0.01,
          y: 0.2
        },
        end: {
          x: 0.8,
          y: 0.35
        }
      },
    })
    
    
    view.data(cfg.trendData);
    
    view
      .interval()
      .position("genre*sold")
      .color("genre");
    
    view.legend("genre", false);
    
    view.scale({
      genre: {
        alias: "游戏种类" // 列定义，定义该属性显示的别名
      },
      sold: {
        alias: "销售量"
      }
    });

    view.axis('sold', false)
    
    view.render();

    keyShape.set('intervalView', view)

    return keyShape
  },
  update(cfg, item) {
    const keyShape = item.getKeyShape()
    const view = keyShape.get('intervalView')
    view.changeData(cfg.trendData)
  }
}, 'single-node')
```
npm package: @qjmyrs/runtime-env-core
Description: 运行时环境配置核心库
Author: qjmyrs
Latest version: 1.0.1

# @company/runtime-env-core

运行时环境配置核心库，支持在单一构建产物中动态切换环境配置。

## 特性

- 🚀 运行时动态选择环境配置
- 🔧 支持自定义环境检测逻辑
- 📦 一次构建，多处部署
- 🎯 完全兼容现有 .env 配置方式

## 安装

```bash
npm install @company/runtime-env-core
```

## 使用

### 基础用法

```javascript
import { initRuntimeEnv, getConfig, getEnvValue } from '@company/runtime-env-core';

// 初始化（可选，使用默认配置）
initRuntimeEnv();

// 获取当前环境的完整配置
const config = getConfig();
console.log(config.VUE_APP_API_URL);

// 获取单个配置值
const apiUrl = getEnvValue('VUE_APP_API_URL', 'http://localhost:3000');
```

### 自定义环境检测

```javascript
import { initRuntimeEnv } from '@company/runtime-env-core';

// 基于路径的检测
initRuntimeEnv({
  envDetector: () => {
    const path = window.location.pathname;
    if (path.startsWith('/test')) return 'test';
    if (path.startsWith('/staging')) return 'staging';
    return 'production';
  }
});

// 基于 localStorage 的检测（用于调试）
initRuntimeEnv({
  envDetector: () => {
    return localStorage.getItem('DEBUG_ENV') || 'production';
  }
});

// 基于 URL 参数的检测
initRuntimeEnv({
  envDetector: () => {
    const params = new URLSearchParams(window.location.search);
    return params.get('env') || 'production';
  }
});
```

### Vue 3 集成

```javascript
// main.js
import { createApp } from 'vue';
import App from './App.vue';
import { initRuntimeEnv, getRuntimeEnv } from '@company/runtime-env-core';

// 初始化
initRuntimeEnv();

const app = createApp(App);

// 注入到全局属性
const runtimeEnv = getRuntimeEnv();
app.config.globalProperties.$env = runtimeEnv;

app.mount('#app');
```

```vue
<!-- 在组件中使用 -->
<template>
  <div>API URL: {{ apiUrl }}</div>
</template>

<script>
import { getEnvValue } from '@company/runtime-env-core';

export default {
  setup() {
    const apiUrl = getEnvValue('VUE_APP_API_URL');
    return { apiUrl };
  }
}
</script>
```

### Vue 2 集成

```javascript
// main.js
import Vue from 'vue';
import App from './App.vue';
import { initRuntimeEnv, getRuntimeEnv } from '@company/runtime-env-core';

initRuntimeEnv();
Vue.prototype.$env = getRuntimeEnv();

new Vue({
  render: h => h(App)
}).$mount('#app');
```

## API

### initRuntimeEnv(options)

初始化运行时环境配置

- `options.envKey`: window 对象上的配置键名，默认 `'__RUNTIME_ENV__'`
- `options.envDetector`: 自定义环境检测函数

### getRuntimeEnv()

获取运行时环境配置实例

### getConfig(env?)

获取指定环境的配置对象，不传参数则返回当前环境的配置

### getEnvValue(key, defaultValue?)

获取指定配置项的值

### getCurrentEnv()

获取当前环境名称

## License

MIT
npm package: @qjorg/hint-keywords
Description: ## Installation
Author: Wallace
Latest version: 1.0.5

# hint-keywords

## Installation

```shell
npm i --save @qjorg/hint-keywords
```

## Usage

```js
import hintKeywords from '@qjorg/hint-keywords'
```

## Example

```ts
const options = [
  {
    label: '脑部ct',
    value: 1
  },
  {
    label: '脑部CT平扫',
    value: 2
  },
  {
    label: '胸部cT',
    value: 3
  },
] as any[]
const list = hintKeywords(options, 'ct')
// console.log(list)
const r = [
  {
    label: '脑部ct',
    value: 1,
    customLabel: '脑部<span style=\'color: red;\'>ct</span>'
  },
  {
    label: '脑部CT平扫',
    value: 2,
    customLabel: '脑部<span style=\'color: red;\'>CT</span>平扫'
  },
  {
    label: '胸部cT',
    value: 3,
    customLabel: '胸部<span style=\'color: red;\'>cT</span>'
  }
] as any[]
```

### params

```
list: any[]
keywords?: any
config: {
    targetLabel: string // default: label
    customLabel: string // customLabel: customLabel
    color: string // red
}
```