open-index/open-npm huggingface dataset:
npm package: @holczhabyt/juro-api
Description: Typed client API for Juro
Author: holcz
Latest version: 1.0.5

# 📑 Client API for Juro

This client is intended to access [Juro](https://juro.com/) in a type safe manner.
[The API doc description](https://api-docs.juro.com/)


+1: it contains the OpenAPI specification of the Juro API, so you can easily build your own client - if you publish your package with the help of the spec, maybe mention this package as origin. 🍻


## Prerequisites
The package is using the `fetch` API, hence you need to provide it with one of the followings:
- use node version `> 18` - recommended
- use `--experimental-fetch` on node version `>16.15.0`
- install `node-fetch`


## Working with this project

- Install the package: `npm install` / `yarn install`
- Execute the tests: `npm run test` / `yarn test`
- Check linter errors: `npm run lint` / `yarn lint`
- Fix linter errors: `npm run lint:fix`  /`yarn run lint:fix`
- Regenerate the API defs from the open-api specs: `npm run generate` / `yarn generate`

## Examples
```
import { Juro } from '@habyt/juro-api';

const juro = Juro('your-juro-api-key');
const result = await juro.health.healthCheck(); //result is { message: 'ok' }
```
npm package: @hold-baby/bucket-db-core
Description: Core database engine for BucketDB.
Author: holdbaby5483
Latest version: 0.2.0

# @bucket-db/core

Core database engine for BucketDB.

See the [main README](../../README.md) for usage and documentation.

## API

### BucketDB

Main database class.

```typescript
const db = new BucketDB(adapter, dbPath, options);
```

### Collection

Type-safe collection interface.

```typescript
const collection = db.collection<T>(name);

await collection.insert(data);
await collection.findById(id);
await collection.find(filter, options);
await collection.update(id, data, options);
await collection.delete(id);
```

### Storage Adapters

- `MemoryStorageAdapter` - In-memory storage for testing
- `S3Adapter` - AWS S3 storage
- `OSSAdapter` - Alibaba Cloud OSS storage

## License

MIT
npm package: @hold404/create
Description: Extended project template creation tool.
Author: Hold404
Latest version: 1.2.1

## Hold404's Extended project template creation tool.

```bash
npx @hold404/create
```

Do not use versions from ``1.0.0`` to ``1.0.6``, they were configured for use in npx.  
Versions from ``1.0.7`` and ``later`` are available for use and work correctly.
npm package: @holdenmatt/openai-message-utils
Description: Simple Typescript library that makes OpenAI messages easier to work with.
Author: Matt Holden
Latest version: 0.1.11

# openai-message-utils

A _very_ simple Typescript library that makes OpenAI messages slightly easier to work with.

You probably don't need this library (or any library) to build prompts.
JavaScript [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) are great for this!

This library helps with just two small annoyances.

## trim

Allows you to indent prompts in your code for readability, while automatically trimming whitespace.

Just add the `trim` tagged template literal, and it will remove:

- any leading or trailing whitespace from each line
- any empty leading or trailing lines

Other empty lines will be preserved.

Usage:

```
const system = trim`
    You are a helpful assistant.
    This line looks indented in code, but the value won't be.
    The prompt starts/ends with empty lines, which will also be removed.
`
```

## buildMessages

The `buildMessages` function handles the common case of creating a messages
array from a single system message and/or user message (and trims them by default).

Usage:

```
const system = "You are a helpful assistant";
const user = `
    How do I say cheese in French?
`;
const messages = buildMessages({ system, user });

console.log(messages) =>
[
    { role: "system", content: "You are a helpful assistant" },
    { role: "user", content: "How do I say cheese in French?" },
]
```
npm package: @holdenmatt/spectree
Description: A markdown preprocessor for composable, reusable LLM specs.
Author: Matt Holden
Latest version: 0.0.7

# @holdenmatt/spectree

ESM TypeScript library for compiling SpecTree markdown (includes, vars, extends) into final Markdown.

- Install: `npm install @holdenmatt/spectree`
- Docs: https://github.com/holdenmatt/spectree#readme

## Quick Start

```ts
import { compile, createFileResolver } from "@holdenmatt/spectree";

const source = `---\nname: World\n---\nHello {{ name }}!`;
const output = await compile(source, { resolver: createFileResolver() });
console.log(output); // "Hello World!"
```

Resolve relative to a file path:

```ts
import { compile, createFileResolver } from "@holdenmatt/spectree";

const fileDir = "/path/to/specs";
const source = "@header.md\n\nBody"; // includes resolve relative to fileDir
const output = await compile(source, { resolver: createFileResolver(fileDir) });
```

Override variables at call-site:

```ts
import { compile, createFileResolver } from "@holdenmatt/spectree";

const source = `---\nname: Default\n---\nHello {{ name }}!`;
const output = await compile(source, {
  resolver: createFileResolver(),
  vars: { name: "Override" },
});
```

## API

- `compile(source, { resolver, vars? })`: Compile SpecTree markdown to Markdown. `vars` override frontmatter.
- `createFileResolver(basePath?)`: Resolve `@path.md` and `extends` from the filesystem.
- `createMemoryResolver(files)`: Resolve from an in-memory object (useful for tests).

## Notes

- ESM only. Use modern Node.js (18+ recommended).
- Types included.
- For full format details and edge cases, see the repo README and `/specs`.

## License

MIT
npm package: @holdenmatt/spectree-cli
Description: CLI for the spectree markdown preprocessor
Author: Matt Holden
Latest version: 0.0.9

# @holdenmatt/spectree-cli

CLI for the SpecTree markdown preprocessor (includes, vars, extends).

- Install (global): `npm install -g @holdenmatt/spectree-cli`
- Docs: https://github.com/holdenmatt/spectree#cli
- Full README: https://github.com/holdenmatt/spectree#readme

## Usage

```bash
spectree <input path> [--var key=value]
```

Examples:

```bash
spectree README.md
spectree spec.md --var name=Matt
spectree template.md > output.md
```

Notes:

- Includes resolve relative to the input file's directory.
- Variables passed with `--var` override frontmatter values.

Local usage without global install:

```bash
npx @holdenmatt/spectree-cli ./path/to/input.md
```

## Options

- `--var <key=value>`: Set a variable (repeatable).

## Requirements

- Node.js 18+ recommended.

## License

MIT
npm package: @holdenmatt/ts-utils
Description: Simple Typescript utilities
Author: Matt Holden
Latest version: 0.1.16

# ts-utils

A few simple zero-dependency Typescript utilities I commonly use across projects.

### Environment checks

- `getEnvironment`
- `isDevelopment`
- `isProduction`
- `isDebug`
- `isBrowser`
- `isServer`

### Basic type guards

- `isString`
- `isArray`
- `isRecord`
- `isNotNull`

### JSON types

- `JSONPrimitive`
- `JSONArray`
- `JSONObject`
- `JSONValue`

### Simple perf timing

- `logElapsedTime`

Usage:

```
const start = performance.now();
// Do stuff...
logElapsedTime(`We did some stuff`, start);
```

### Errors

- `HttpError`
- `AssertionError`
- `assertError(message: string)`
- `assertTrue(condition: boolean, message: string)`

### URLs

- `isValidUrl`

### Keyboard

- `modKey(shortcut: string)`: Returns a string like "⌘C" (on macOS) or "Ctrl+C" (on Windows/Linux), or undefined (on other platforms).
- `isModKey(e: KeyboardEvent): boolean`: Is the mod key (Ctrl on Windows/Linux, Command on macOS) pressed?

### Logging

Add a logger:

```
addLogger((error: Error, cause?: unknown) => { ...do something })
```

Log an error (with all added loggers):

```
logError(new Error("Uh oh), {more: "info"})
```

By default, we console log to the browser only if isDebug is true.
npm package: @holder-mcp/local-knowledge-base
Description: Holder公司本地知识库MCP客户端，提供项目文档检索、模块信息查询和架构信息获取等工具
Author: Holder Development Team
Latest version: 1.0.6

# @holder-mcp/local-knowledge-base

Holder公司本地知识库MCP(Model Context Protocol)客户端，提供项目文档检索、模块信息查询和架构信息获取等工具。

## 🚀 功能特性

- **项目文档检索** - 基于语义搜索的智能文档查询
- **模块信息查询** - 获取特定模块的设计文档和历史逻辑
- **架构信息获取** - 查看项目架构设计和技术选型
- **代码文档搜索** - 专门针对代码相关文档的搜索
- **知识库统计** - 获取知识库的统计信息和状态

## 📦 安装

### 通过NPM私服安装
```bash
npm install -g @holder-mcp/local-knowledge-base --registry http://npm.holderzone.cn/
```

### 或直接使用npx
```bash
npx @holder-mcp/local-knowledge-base@latest --registry http://npm.holderzone.cn/
```

## 🔧 配置使用

### 在Cursor IDE中配置

在Cursor的设置中添加MCP服务器配置：

```json
{
  "mcpServers": {
    "holder-knowledge-base": {
      "command": "npx",
      "args": [
        "-y", 
        "@holder-mcp/local-knowledge-base",
        "--registry", "http://npm.holderzone.cn/"
      ],
      "description": "Holder本地知识库"
    }
  }
}
```

### 自定义服务器地址

如果知识库服务器不在默认地址，可以指定：

```json
{
  "mcpServers": {
    "holder-knowledge-base": {
      "command": "npx",
      "args": [
        "-y", 
        "@holder-mcp/local-knowledge-base",
        "--registry", "http://npm.holderzone.cn/",
        "--server-url", "http://your-server:8888"
      ]
    }
  }
}
```

## 🛠️ 可用工具

### 1. queryKnowledgeBase
根据用户查询从本地知识库检索相关信息。

**参数:**
- `query` (string) - 查询内容
- `topK` (integer) - 返回结果数量，默认5

**示例:**
```
查询Spring AI的使用方法
```

### 2. getModuleInfo
检索特定模块或功能的历史逻辑和设计规范。

**参数:**
- `moduleName` (string) - 模块名称

**示例:**
```
用户管理模块
```

### 3. getArchitectureInfo
获取项目架构信息和设计模式。

**参数:** 无

### 4. getKnowledgeBaseStats
获取知识库的统计信息。

**参数:** 无

### 5. searchCodeDocumentation
专门搜索代码相关的文档和实现细节。

**参数:**
- `codeQuery` (string) - 代码查询内容

**示例:**
```
用户认证相关的实现
```

## 🔍 使用示例

安装配置完成后，在Cursor中可以这样使用：

- "帮我查找项目中关于Spring AI的文档"
- "获取用户管理模块的设计信息"  
- "显示这个项目的架构信息"
- "搜索代码中关于认证的实现"
- "知识库有多少文档"

## 🖥️ 命令行使用

也可以直接在命令行使用：

```bash
# 启动MCP客户端
holder-mcp-kb

# 使用自定义服务器地址
holder-mcp-kb --server-url http://custom-server:8888

# 查看帮助
holder-mcp-kb --help
```

## ⚙️ 配置选项

| 选项 | 描述 | 默认值 |
|------|------|--------|
| `--server-url` | 知识库服务器地址 | `http://localhost:8888` |
| `--help` | 显示帮助信息 | - |

## 🔧 开发

### 构建项目
```bash
cd client
npm install
npm run build
```

### 发布到私服
```bash
npm publish --registry http://npm.holderzone.cn/
```

## 📝 版本历史

### v1.0.0
- 初始版本
- 支持5个核心工具功能
- 标准MCP协议实现
- 支持自定义服务器地址

## 🐛 问题反馈

如有问题，请联系开发团队或提交issue。

## �� 许可证

MIT License
npm package: @holdify/sdk
Description: Official Holdify SDK for TypeScript
Author: Holdify
Latest version: 0.1.0

# @holdify/sdk

Official TypeScript SDK for Holdify.

## Installation

```bash
npm install @holdify/sdk
# or
pnpm add @holdify/sdk
# or
yarn add @holdify/sdk
```

## Usage

```typescript
import { Holdify } from '@holdify/sdk';

const holdify = new Holdify({
  apiKey: process.env.HOLDIFY_PROJECT_KEY!
});

// Verify a key
const result = await holdify.verify('hk_live_abc123', {
  resource: 'api-calls',
  units: 1
});

console.log(result.valid); // true
console.log(result.remaining); // 9999

// Create a new key
const newKey = await holdify.createKey({
  name: 'Production Key',
  scopes: ['verify:*'],
  expiresAt: '2025-12-31T23:59:59Z'
});

console.log(newKey.key); // hk_live_xyz789

// List keys
const { keys } = await holdify.listKeys();

// Revoke a key
await holdify.revokeKey(newKey.id);
```

## Error Handling

```typescript
import { InvalidKeyError, RateLimitError, NetworkError } from '@holdify/sdk';

try {
  await holdify.verify('invalid-key');
} catch (error) {
  if (error instanceof InvalidKeyError) {
    console.error('Invalid key:', error.message);
  } else if (error instanceof RateLimitError) {
    console.error('Rate limited. Retry after:', error.retryAfter);
  } else if (error instanceof NetworkError) {
    console.error('Network error:', error.message);
  }
}
```

## License

MIT
npm package: @holdltd/api-proxy
Description: API Proxy
Author: Sándor Krisztián
Latest version: 0.9.1

# API Proxy

TODO Description

## Config

```
port?: number - Port the http service will use
securePort?: number - Port the https service will use
secureCertificate?: path - Absolute or relative path to certificate
secureCertificateKey?: path - Absolute or relative path to private key

cache:
    {name}: any

routes:
    - path: string - Full path for endpoint, must start with "/"
      method?: http method - Accepted request method, defaults to all
      body?: json | string - Return body JSON or string
      file?: path - Return file from absolute or relative path
      statusCode?: number - Respond with specific status code
      contentType?: mime type - Respond with specific content type
      useRegex?: boolean - Enable the use of Regular Expressions in the path
      delay?: number - Delay response by milliseconds
      
    - path: string - Full path for endpoint, must start with "/"
      proxyUrl: url - Full URL to proxy
      proxyPassQuery?: boolean - Enable the passing of query parameters to the proxyUrl, defaults to false
      method?: http method - Accepted request method, defaults to all
      useRegex?: boolean - Enable the use of Regular Expressions in the path
```

When using query parameters (e.g. the `path` includes `?key=value`) then these parameters
will be matched against the requested URL and the route will be activated only when all
the parameters match.

### Configuration variables

With some properties, you can use variables from other properties that as described in the
tables below. You cannot use variables in the `path` with `useRegex`.

| Variable name | Description |
|---|---|
| $body | POST or PUT body |
| $cache | Cache objects you described in config and / or in routes |
| $path | Resolved URL path that is called in the API |
| $query | Query parameters as an object |
| $method | Method called in the API |

| Property | Variables available on property |
|---|---|
| path | `$body` `$cache` `$method` |
| file | `$path` `$cache` `$query` `$method` |
| body (has to be a string to use variables) | `$path` `$cache` `$query` `$method` |
| proxyUrl | `$path` `$body` `$cache` `$query` `$method` |

### Using cache

TODO
npm package: @holdmyticket/hmt-riot-cli
Description: Riot command line utility
Author: Gianluca Guarini
Latest version: 2.8.0

# Riot cli

## BUILD
Update package.json with new version

Run
```
make test
```
Add and commit

Tag the version
```
git tag -s vX.X.X -m 'vX.X.X'
```

Push it to Github
```
git push
git push origin tag vX.X.X
```

### Publish to NPMJS
```
npm login
npm publish
```
Command line tool to precompile riot tags

[![Build Status][travis-image]][travis-url]
[![Code Quality][codeclimate-image]][codeclimate-url]
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-url]
[![MIT License][license-image]][license-url]
[![Coverage Status][coverage-image]][coverage-url]

## Installation

Normally this tool is available directly installing [riot](https://github.com/riot/riot) via npm:

`$ npm install riot -g`

But it's also available as standalone package:

`$ npm install riot-cli -g`

[travis-image]:https://img.shields.io/travis/riot/cli.svg?style=flat-square
[travis-url]:https://travis-ci.org/riot/cli

[license-image]:http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]:LICENSE.txt

[npm-version-image]:http://img.shields.io/npm/v/riot-cli.svg?style=flat-square
[npm-downloads-image]:http://img.shields.io/npm/dm/riot-cli.svg?style=flat-square
[npm-url]:https://npmjs.org/package/riot-cli

[coverage-image]:https://img.shields.io/coveralls/riot/cli/master.svg?style=flat-square
[coverage-url]:https://coveralls.io/r/riot/cli/?branch=master

[codeclimate-image]:https://img.shields.io/codeclimate/github/riot/cli.svg?style=flat-square
[codeclimate-url]:https://codeclimate.com/github/riot/cli
npm package: @holdno/editorjs-codemirror
Description: EditorJS Tool that allows adding a block with syntax highlighting powered by CodeMirror 6 with a language picker
Author: holdno
Latest version: 0.1.3

# CodeMirror Tool for EditorJS

CodeMirror tool for EditorJS allows adding Code blocks with syntax highlighing to the EditorJS content. This block uses CodeMirror 6 for the editor and exposes a language selector for choosing the languages supported by CodeMirror's base packages.

## Installation

### Install via NPM

Get the package

```
npm i --save-dev @tltoulson/editorjs-codemirror
```

Include module in your application

```
import { CodeMirrorTool } from '@tltoulson/editorjs-codemirror';
```

## Add to your project manually

Copy the `dist/index.js` file into your project to use the CommonJS module.

Copy the `dist/index.mjs` file into your project to use the ES Module.

## Usage

Add a new Tool to the tools property of the Editor.js initial config.

```js
var editor = EditorJS({
  ...
  
  tools: {
    ...
    codemirror: CodeMirrorTool,
  }
  
  ...
});
```

## Output data

This Tool returns code.

```json
{
    "type" : "codemirror",
    "data" : {
        "code": "body {\n font-size: 14px;\n line-height: 16px;\n}",
        "language": "CSS",
    }
}
```