open-index/open-npm huggingface dataset:
npm package: @hopara/multilingual-number-parser
Description: This project started as a need for Metamaze where we parse words to actual numbers.
Author: Indy
Latest version: 1.0.10

# Multilingual-number-parser

This project started as a need for Metamaze where we parse words to actual numbers.

First relied on [words-to-numbers](https://github.com/finnfiddle/words-to-numbers) but it couldn't handle multiple languages. So based on the existing code base I've rewritten the parser so it can support multiple languages.

This parser is also able to succeed in tests which [words-to-numbers](https://github.com/finnfiddle/words-to-numbers) couldn't.

Feel free to open issues/PR's to support other languages!

This wasn't possible without the authors of [words-to-numbers](https://github.com/finnfiddle/words-to-numbers).

# See the tests folders on how to use this package.

# Supported languages
- English
- Dutch
- Portuguese

Feel free to open issues to support more languages.
npm package: @hope-dies-here/next-blog-nsfw
Description: A Next.js blog with PostgreSQL backend, automatic schema creation, and NSFW features
Author: Your Name
Latest version: 1.2.0

This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
npm package: @hope-dies-here/next-blog-one
Description: A plug-and-play Next.js blog feature for easy integration via npx.
Author: name.Random
Latest version: 1.2.1

# Next Blog – Plug-and-Play Next.js Blog Feature

A plug-and-play Next.js blog feature for instant integration into any Next.js project.  
Easily set up a `/blog` route with PostgreSQL backend, Tailwind CSS styling, JWT authentication, and public assets using a single command.

---

## Features

- **Instant `/blog` route**: All pages, components, and API routes are set up for you.
- **PostgreSQL backend**: Automatic schema creation and ready-to-use CRUD endpoints.
- **Tailwind CSS**: Modern styling out of the box.
- **JWT Authentication**: Secure endpoints with JWT.
- **Public assets**: Images and SVGs included.
- **No root file conflicts**: Does not overwrite your existing `layout.js` or `page.js`.
- **Components folder**: All blog components are available in `/components/blog`.

---

## Installation & Usage

### 1. Install 

```bash
npm i @hope-dies-here/next-blog-one
```

Then 

```bash
npx next-blog init
```

> **Notice:**  
> For best results, test this package with a fresh Next.js project created using  
> `npx create-next-app` and select the Tailwind CSS option during setup.  
> This ensures all required dependencies and configuration are ready for the feature

- By default, this copies the blog feature into your project's `app` or `src/app` folder (auto-detected).
- To force a specific target, use:
  - `npx next-blog init --app` (for `/app`)
  - `npx next-blog init --src` (for `/src/app`)

### 2. What Gets Added

- `/app/blog` or `/src/app/blog` – Blog pages
- `/app/api/blog-posts` – API routes for blog CRUD
- `/app/api/auth` – Authentication API routes
- `/app/styles` – Blog and global CSS
- `/app/lib` – Database connection
- `/components/blog` – Blog components
- `/public` – Blog assets (images, SVGs, etc.)

### 3. Required Dependencies

When you install the package, these dependencies are automatically installed:

- `pg` (PostgreSQL client)
- `tailwindcss`, `postcss`, `autoprefixer` (for styling)
- `jsonwebtoken` (for JWT authentication)

### 4. Environment Setup

Set your PostgreSQL connection string and JWT secret in your environment:

```env
DATABASE_URL=postgres://user:password@host:port/database
JWT_SECRET=your_super_secret_jwt_key
```

The schema is created automatically on first run.

### 5. Access Your Blog

Visit `/blog` in your Next.js project to see your new blog in action!

---

## Customization

- Edit `/blog/page.jsx` and components in `/blog` and `/components/blog` as needed.
- Add or modify assets in `/public`.
- API routes are in `/api/blog-posts` and `/api/auth`.

---

## Notes

- **No root files are overwritten**: Your existing `layout.js` and `page.js` remain untouched.
- **Safe for existing projects**: Only adds the `/blog` feature and its dependencies.

---

## Uninstall

To remove, simply delete the `/blog`, `/api/blog-posts`, `/api/auth`, `/styles`, `/lib`, `/components/blog`, and any assets added to `/public`.

---

## License

MIT

---

## Author

name.Randome()
npm package: @hope-ui/core
Description: Hope UI core components library.
Author: Fabien Marie-Louise
Latest version: 1.0.0-next.11

# @hope-ui/core

Hope UI core components library.

## Installation

```bash
npm install @hope-ui/core
# or
yarn add @hope-ui/core
# or
pnpm add @hope-ui/core
```

## Documentation

For full documentation, visit [hope-ui.com](https://hope-ui.com/).

## Changelog

All notable changes are described in the [CHANGELOG.md](./CHANGELOG.md) file.
npm package: @hope-ui/primitives
Description: A set of SolidJS primitives for state and UI management.
Author: Fabien Marie-Louise
Latest version: 1.0.0-next.11

# @hope-ui/primitives

A set of SolidJS primitives for state and UI management.

## Installation

```bash
npm install @hope-ui/primitives
# or
yarn add @hope-ui/primitives
# or
pnpm add @hope-ui/primitives
```

## Documentation

For full documentation, visit [hope-ui.com](https://hope-ui.com/).

## Changelog

All notable changes are described in the [CHANGELOG.md](./CHANGELOG.md) file.
npm package: @hope-ui/solid
Description: The SolidJS component library you've hoped for.
Author: Fabien MARIE-LOUISE
Latest version: 0.6.7

# @hope-ui/solid

A composable and accessible component library that gives you the foundation to build your next SolidJS application.

## Documentation

For full documentation, visit [hope-ui.com](https://hope-ui.com/).

## Installation

```sh
# With npm
npm install @hope-ui/solid @stitches/core solid-transition-group

# With yarn
yarn add @hope-ui/solid @stitches/core solid-transition-group

# With pnpm
pnpm add @hope-ui/solid @stitches/core solid-transition-group
```

## License

This project is licensed under the MIT License.
npm package: @hope-ui/styles
Description: Hope UI CSS-in-JS library built on top of stitches.
Author: Fabien Marie-Louise
Latest version: 1.0.0-next.11

# @hope-ui/styles

Hope UI CSS-in-JS library built on top of stitches.

## Installation

```bash
npm install @hope-ui/styles
# or
yarn add @hope-ui/styles
# or
pnpm add @hope-ui/styles
```

## Documentation

For full documentation, visit [hope-ui.com](https://hope-ui.com/).

## Changelog

All notable changes are described in the [CHANGELOG.md](./CHANGELOG.md) file.
npm package: @hope-ui/utils
Description: Common utilities and types for Hope UI.
Author: Fabien Marie-Louise
Latest version: 1.0.0-next.11

# @hope-ui/utils

Common utilities and types for Hope UI.

## Installation

```bash
npm install @hope-ui/utils
# or
yarn add @hope-ui/utils
# or
pnpm add @hope-ui/utils
```

## Documentation

For full documentation, visit [hope-ui.com](https://hope-ui.com/).

## Changelog

All notable changes are described in the [CHANGELOG.md](./CHANGELOG.md) file.
npm package: @hope-ym/ai-code-review
Description: > 基于 AI 的自动化代码审查工具，支持 Git 钩子与独立 CLI，支持多 AI 服务、丰富配置与灵活集成。
Latest version: 1.0.0

# AI Code Review CLI

> 基于 AI 的自动化代码审查工具，支持 Git 钩子与独立 CLI，支持多 AI 服务、丰富配置与灵活集成。

---

## ✨ 功能特性

- **自动分析暂存区 diff**，仅审查已 git add 的变更。
- **多 AI 服务支持**：支持 Qwen（通义千问）、OpenAI（可扩展）。
- **分块处理大 diff**，避免模型 token 超限。
- **自定义严格程度**：高/中/低，影响审查范围和阻断策略。
- **可配置忽略文件/目录**，防止无关内容进入审查。
- **自定义提示词模板**，满足多样审查风格。
- **结构化输出**：file、line、issue、severity、suggestion。
- **彩色高亮 CLI 输出**，严重性一目了然。
- **支持跳过审查（环境变量/命令行参数）**。
- **健壮的错误处理与重试机制**。
- **安全：API 密钥仅从配置/环境变量读取，无硬编码。**

---

## 🚀 快速开始

### 1. 安装

```bash
npm install -D @hope-ym/ai-code-review
```

或全局安装：

```bash
npm install -g @hope-ym/ai-code-review
```

### 2. 配置 AI 密钥

在项目根目录新建 `.env` 文件：

```
QWEN_API_KEY=你的密钥
```

或直接写入 `ai-cr.config.js`（见下方）。

### 3. 可选：生成/编辑配置文件

在项目根目录创建 `ai-cr.config.js`，支持如下配置：

```js
export default {
  provider: 'qwen', // 'qwen' | 'openai' | ...
  apiKey: '你的密钥', // 优先使用此处
  strictness: 'medium', // 'high'/'medium'/'low'
  ignore: ['node_modules', 'dist', '*.md', '*.test.*', '.git', '*.lock'],
  promptTemplate: '', // 可选，自定义提示词模板，${diff} 占位符自动替换
};
```

- 配置文件优先级：`ai-cr.config.js` > `.env` > 默认值
- 忽略规则支持通配符、目录、文件名
- promptTemplate 支持任意字符串，`${diff}` 自动替换为本次 diff 内容

### 4. 运行代码审查

```bash
npx ai-cr
```
或
```bash
npm run ai-cr
```

### 5. 集成 Git 钩子（pre-commit）

在 `.husky/pre-commit` 或 `.git/hooks/pre-commit` 中添加：

```bash
npx ai-cr || exit 1
```

如有严重问题将阻止提交。

---

## ⚙️ 配置说明（ai-cr.config.js）

| 字段           | 说明                               | 示例/默认值 |
|----------------|------------------------------------|-------------|
| provider       | AI 服务商标识                      | 'qwen'      |
| apiKey         | AI 服务密钥                        | ''          |
| strictness     | 审查严格程度（high/medium/low）    | 'medium'    |
| ignore         | 忽略文件/目录/通配符数组           | ['node_modules', '*.md'] |
| promptTemplate | 自定义 AI 审查提示词模板           | ''          |

---

## 🖥️ 输出示例

```bash
🔍 正在检查暂存区代码变更...
🚨 AI 审查发现 2 个问题：

1. [high] src/index.js:42
   存在 SQL 注入风险
   💡 建议: 使用参数化查询

2. [low] README.md:1
   缺少文件头注释
   💡 建议: 添加项目描述注释

❌ 建议修复问题后再提交。
```

---

## 📝 常见问题与注意事项

- **API 密钥安全**：请勿将密钥提交到 git，建议 `.env` 和 `ai-cr.config.js` 写入 `.gitignore`。
- **成本与延迟**：AI 审查可能产生费用和延迟，请合理配置 ignore 和分块参数。
- **幻觉风险**：AI 结果仅供参考，最终判断请由开发者把控。
- **隐私说明**：代码 diff 会发送到第三方 AI 服务，敏感项目请谨慎使用。
- **自定义 prompt**：如需特殊审查风格，直接在 promptTemplate 填写，`${diff}` 自动替换。
- **跳过审查**：可用 `AI_CR_SKIP=1 npx ai-cr` 或 `npx ai-cr --no-verify` 跳过。

---

## 📦 进阶用法

- 支持多 provider 扩展（如需接入更多 AI，可自定义 provider 字段）。
- 支持 dry-run、输出到文件、CI 集成等高级用法（可二次开发）。
- 可通过 `files` 字段限制 npm 包发布内容，保护隐私。

---

## 🛠️ 贡献与反馈

欢迎 issue、PR 或定制需求！

---

## License

MIT
npm package: @hope/cors
Description: Simple CORS middleware for Express
Author: Sergey Sadovoi
Latest version: 1.0.3

CORS middleware for Express
===========================
[![Test passing](https://travis-ci.org/HopeUA/cors.module.svg?branch=master)](https://travis-ci.org/HopeUA/cors.module/)

Add CORS headers to server response, that allows cross-site connections

Usage
-----
    // Import
    import CORS from '@hope/cors';
    // Apply
    app.all('*', CORS());
npm package: @hope/error
Description: API Error class
Author: Sergey Sadovoi
Latest version: 1.0.1

API Error class
===========================
[![Test passing](https://travis-ci.org/HopeUA/error.module.svg?branch=master)](https://travis-ci.org/HopeUA/error.module/)

Custom error type for REST applications

Usage
-----
    // Import
    import ApiError from '@hope/error';
    // Use
    let error = new ApiError({
        message: "Custom error",
        code: 100,
        status: 500
    });
    // Send response
    response.json({
        error: {
            code: 'APP-' + error.code,
            message: error.message,
            stack: error.stack,
            parent: {
                message: error.parent.message,
                stack: error.parent.stack
            }
        }
    });