open-index/open-npm huggingface dataset:
npm package: @halsp/native
Description: Halsp 的 NodeJS 原生环境
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp 的 NodeJS 原生环境

## 安装

```
npm install @halsp/native
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/pipe
Description: Halsp 的管道插件，用于校验、转换、格式化请求参数
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp 的管道插件，用于校验、转换、格式化请求参数

## 安装

```
npm install @halsp/pipe
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/redis
Description: Halsp Redis 插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp Redis 插件

## 安装

```
npm install @halsp/redis
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/router
Description: Halsp 的路由插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

`@halsp/router` 是 `Halsp` 的路由插件

- 支持 RESTful 规范
- 根据文件系统映射访问路径，彻底解耦无关联功能
- 按需加载，提升请求速度
- 轻量化，高可扩展性
- 移除 controller 层，灵活性更高
- 预编译路由，提升启动速度和响应速度

## 安装

```
npm install @halsp/router
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/static
Description: Halsp 的静态资源插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

`@halsp/static` 是 `Halsp` 的静态资源插件

- 能够返回静态资源，如图片、html、css、js 等文件
- 能够匹配单个文件或整个文件夹
- 可以托管静态网站

## 安装

```
npm install @halsp/static
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/swagger
Description: 使用 swagger 自动生成你的 Halsp 文档
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

`@halsp/swagger` 是 `Halsp` 的 swagger 文档插件

基于 `@halsp/validator`，使用装饰器注释文档，可以解析部分 `@halsp/validator` 的装饰器

在浏览器中使用 [swagger-ui](https://github.com/swagger-api/swagger-ui) 渲染文档

## 安装

```
npm install @halsp/swagger
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/testing
Description: Halsp 的测试插件，用于单元测试、本地测试等
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp 的测试插件，用于单元测试、本地测试等

## 安装

```
npm install @halsp/testing
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/typeorm
Description: Halsp TypeORM 插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp TypeORM 插件

## 安装

```
npm install @halsp/typeorm
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/validator
Description: Halsp 的参数校验插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

`@halsp/validator` 是 `Halsp` 的参数校验插件

基于 [class-validator](https://github.com/typestack/class-validator) 和 [@halsp/pipe](https://github.com/halsp/pipe) 校验请求参数

## 安装

```
npm install @halsp/validator
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/view
Description: Halsp 视图渲染中间件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

`@halsp/view` 是 `Halsp` 的视图渲染插件

- 基于 `consolidate`， 支持多种视图模板，参考 [consolidate](https://github.com/tj/consolidate.js)

## 安装

```
npm install @halsp/view
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsp/ws
Description: Halsp WebSocket 插件
Author: hal-wang
Latest version: 2.4.5

<p align="center">
  <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a>
</p>

<p align="center">Halsp - 面向云的现代渐进式轻量 <a href="http://nodejs.org" target="_blank">Node.js</a> 框架</p>
<p align="center">
    <a href="https://github.com/halsp/core/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a>
    <a href=""><img src="https://img.shields.io/npm/v/@halsp/core.svg" alt="npm version"></a>
    <a href=""><img src="https://badgen.net/npm/dt/@halsp/core" alt="npm downloads"></a>
    <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@halsp/core.svg" alt="node compatibility"></a>
    <a href="#"><img src="https://github.com/halsp/core/actions/workflows/test.yml/badge.svg?branch=main" alt="Build Status"></a>
    <a href="https://codecov.io/gh/halsp/core/branch/main"><img src="https://img.shields.io/codecov/c/github/halsp/core/main.svg" alt="Test Coverage"></a>
    <a href="https://github.com/halsp/core/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
    <a href="https://gitpod.io/#https://github.com/halsp/core"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
    <a href="https://paypal.me/ihalwang" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
</p>

## 开始使用

请跟随文档 [halsp.org](https://halsp.org) 📚

## 线上示例

请访问 <https://quickstart.halsp.org> 🌈

> 该网站可快速体验 Halsp，代码由 `@halsp/cli` 生成，运行于 [StackBlitz](https://stackblitz.com)

> 可以自由选择插件和运行环境，支持在线编辑、运行、调试

## 介绍

Halsp WebSocket 插件

## 安装

```
npm install @halsp/ws
```

## 贡献

在提交 PR 前请先阅读 [Contributing to Halsp](https://github.com/halsp/core/blob/main/CONTRIBUTING.md).

<a href="https://github.com/halsp/core/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=halsp/core" />
</a>

## 遇到问题

首先查找是否已有相关问题：

1. 查看文档 [halsp.org](https://halsp.org) 是否有相关内容
2. 查看 [Discussions](https://github.com/halsp/core/discussions) 是否有相关讨论
3. 查看 [Issues](https://github.com/halsp/core/issues) 是否有相关内容

如果以上没有找到答案：

- 一般性问题请在讨论区提问 [Discussions](https://github.com/halsp/core/discussions)
- 代码问题或不符预期的行为请提 [Issues](https://github.com/halsp/core/issues)

如果你能通过代码解决这个问题欢迎提交 [Pull requests](https://github.com/halsp/core/pulls)

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2022-present, Hal Wang
npm package: @halsystems/red-bacnet
Description: NodeRED BACnet IP client
Author: Hal Systems
Latest version: 1.4.7

# About
RED-BACnet is a BACnet IP driver designed for Node-RED, enabling interaction with BACnet devices.

Features include:
- discovering devices
- discovering points
- bulk reading points
- bulk writing points

## Installation
### Install using Node-RED Palette Manager
```md
1. Click the 'Hamburger' icon at the top right corner.
2. Select the 'Manage palette' option.
3. Click the 'Install' tab and type '@halsystems/red-bacnet' into the search field.
4. Click to install.
```

### Install using NPM
```bash
cd "${HOME}"/.node-red
npm install --production @halsystems/red-bacnet
```
### Example
See <a href="https://flows.nodered.org/flow/45a1c893a2acd0dc9df7c7b91b82bfe6" target="_blank">here</a>

## Contributions
This package is based on two projects:
- ts-node-bacstack (v1.0.0-beta.2): A direct dependency for this package. (https://github.com/HILA-TECH/ts-node-bacstack)
- node-bacstack: The original JavaScript implementation that laid the groundwork for BACnet communication in Node.js environments. (https://github.com/fh1ch/node-bacstack)

## License
MIT
Copyright (c) 2024-present [HAL Systems](https://www.halsystems.com.au/)
npm package: @haluo/pc
Description: ```bash yarn add @haluo/pc ``` # 使用 ```javascript // main.js import HaluoPc from '@haluo/pc'; import elementPlus from 'element-plus' import 'element-plus/dist/index.css'
Latest version: 0.0.11-alpha.6

# 安装
```bash
yarn add @haluo/pc
```
# 使用
```javascript
// main.js
import HaluoPc from '@haluo/pc';
import elementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(elementPlus)
app.use(HaluoPc)
app.mount('#app')
```
npm package: @halv/conversational-utils
Description: Conversational omnichannel utils
Latest version: 0.0.2

### Conversational-utils

Common utils for Conversational Omnichannel utils.

![](https://img.shields.io/npm/v/@halv/conversational-utils?style=flat)
![](https://img.shields.io/npm/dt/@halv/conversational-utils.svg)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
![](https://img.shields.io/npm/l/@halv/conversational-utils)

### Installation

Install the package

```sh
npm install @halv/conversational-utils
```
npm package: @halva-suite/halva-spec-builder
Description: <!-- PROJECT LOGO --> <br /> <p align="center">   <a href="https://github.com/halva-suite/spec-builder">     <img src="https://i.imgur.com/mJQhWZA.jpg" alt="Logo" width="300" height="300">   </a>
Latest version: 1.1.0


<!-- PROJECT LOGO -->
<br />
<p align="center">
  <a href="https://github.com/halva-suite/spec-builder">
    <img src="https://i.imgur.com/mJQhWZA.jpg" alt="Logo" width="300" height="300">
  </a>

  <h3 align="center">Halva Spec Builder</h3>

  <p align="center">
    <br />
    <a href="https://github.com/halva-suite/spec-builder/issues">Report Bug</a> |
    <a href="https://github.com/halva-suite/spec-builder/pulls">Request Feature</a>
  </p>
</p>

<!-- ABOUT THE PROJECT -->


## Spec-Builder


This npm module is a chain specification file modifier for a Substrate node.


### Features
---

* Key generation type sr25519 and ed25519
* Custom middleware support
* Built-in cli

### Installation
---

```bash
npm install @halva-suite/halva-spec-builder
```
### Use Module
---

 **Use middleware runner**

  ```javascript
  const spec = await HalvaSpecModifier.init('path/to/spec.json', 100, 10)
    .apply(auraMiddleware)
    .apply(balanceMiddleware)
    .apply(grandpaMiddleware)
    .run();
  spec.output('/path/from/save/shc.json');
  ```

 **Create custom middleware**

 ```javascript
  .apply((context: HalvaMiddlewareContext): any => {
  const ed25519pairs = context.ed25519Keys.getPairs();
  for (let i = 0; i < ed25519pairs.length; i++) {
    context.jsonSchema.genesis.runtime.customObject.customField.push(ed25519pairs[i].address);
  }
  return context.jsonSchema;
})
 ```

 **Context structure**

  ```javascript
interface HalvaMiddlewareContext {
  jsonSchema: any;
  ed25519Keys: Keyring;
  sr25519Keys: Keyring;
  customArgs: any;
  path: string;
  mnemonic: string;
  balance: number;
  count: number;
}
  ```


  **Use cli**
  ```bash
  spec-builder -i /path/to/spec.json 
  ```
  
  ```bash
  spec-builder -i /path/to/spec.json -a 100 -b 1152921504606847000
  ```

  ```bash
  spec-builder -i /path/to/spec.json -a 100 -b 1152921504606847000 -m clip organ olive upper oak void inject side suit toilet stick narrow
  ```


 **You can also use separate middleware when working with cli**
  ```bash
  spec-builder -i /path/to/spec.json --am --bm # am - AuraMiddleware bm - BalanceMiddleware 
                                               #The grandpa block will not be filled, because the --gm argument is missing
  ```


### Script Commands
--- 

* `yarn test` -- Runs tests.
* `yarn typecheck` -- Checks TypeScript types for correctness. This is disabled during tests for performance reasons.
* `yarn lint` -- Runs linting.
* `yarn format` -- Reformats all of the `.ts` and `.tsx` files with Prettier.
* `yarn build` -- Regenerates `dist` folder that gets included into NPM module.

### Contributing
---

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

### License
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @halvaradop/auth-init
Description: CLI tool to initialize a project with auth.js
Author: Hernan Alvarado
Latest version: 0.3.0

# @halvaradop/auth-init

@halvaradop/auth-init is an initializer that facilitates and accelerates the setup of projects with authentication using auth.js. It supports the three main frameworks offered by auth.js:

- NextJs
- SvelteKit
- Express

It simplifies the configuration to create a basic setup for using auth.js with your favorite framework, helping you focus on incorporating custom authentication configurations provided by auth.js.

## Installation

To install the initializer of authentication with Auth.js, you should install it via npm. For more information about [Auth.js](https://authjs.dev/), you can check their documentation. The command to install the package is:

```bash
npm i -g @halvaradop/auth-init
```

## Contributing

Here, you will find a guide on how to contribute to the project and the necessary steps to do so. Please read our [Contributing Guidelines](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md).

## Code of Conduct

Please be aware that this project has a code of conduct, and we expect all contributors to follow these guidelines in their interactions. For more information, please read our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md).
npm package: @halvaradop/shortify-cli
Description: A command-line tool that allows you to quickly and efficiently shorten URLs, generating short and easy-to-share links
Author: Hernan Alvarado
Latest version: 0.2.0

# @halvaradop/shortify-cli

A CLI tool to shorten lengthy URLs for easier sharing and management.

## Installation

Install the package globally using npm or pnpm:

```bash
# npm
npm install -g @halvaradop/shortify-cli

# pnpm
pnpm install -g @halvaradop/shortify-cli
```

## Usage

Shortify CLI provides a simple way to shorten URLs:

```bash
shortify <url> [options]
```

### Arguments

- `url`: The long URL you want to shorten. Enclose the URL in quotes if it contains special characters.

### Options

- `-V, --version`: Output the version number.
- `-e, --expiry <expiry>`: Set an expiry date for the link (default: "never").
- `-h, --help`: Display help for the command.

### Commands

- `get [options]`: Get information about a short link.
- `delete [options]`: Delete a short link.
- `update [options]`: Update a short link.
- `logger [options]`: Manage and view logger settings
- `config [options]`: View and modify application configuration

## Examples

```bash
# Shorten a URL with default options
shortify "https://www.example.com/very-long-url"

# View statistics for a shortened URL
shortify get -s sid-generate-shortened
shortify get --sid sid-generate-shortened

# Remove a shortened URL
shortify delete -s sid-generate-shortened
shortify delete --sid sid-generate-shortened

# Create a shortened URL with a custom expiry
shortify update -s sid-generate-shortened -e 10h
shortify update --sid sid-generate-shortened --expiry 10h

# Update logger color for info, warn and error
shortify logger --info white
shortify logger --warn yellow
shortify logger --error red

# See the current configuration
shortify config
```

## Contributing

We welcome contributions to `@halvaradop/shortify-cli`! If you have an idea for a new feature or find an improvement to an existing one, please feel free to open an issue or create a pull request. We offer a guide on how to contribute to the project and the necessary steps to do so. Read our [Contributing Guideline](https://github.com/halvaradop/.github/blob/master/.github/CONTRIBUTING.md).

## Code of Conduct

Please be aware that this project has a code of conduct, and we expect all contributors to follow these guidelines in their interactions. For more information, please read our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md).
npm package: @halvaradop/tailwindcss-animations
Description: A collection of utility classes and utilities for animations using Tailwind CSS
Author: Hernan Alvarado
Latest version: 1.0.1

# @halvaradop/tailwindcss-animations

A utility package for TailwindCSS that provides predefined animation classes and keyframes, enabling you to easily animate your application with minimal effort.

---

Explore the full documentation of the package on the [official website](https://tailwindcss-utilities.vercel.app/docs/animations).

## Contributing

We welcome contributions to the `@halvaradop/tailwindcss` ecosystem! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request. To get started, please review our [Contributing Guidelines](https://github.com/halvaradop/.github/blob/master/.github/CONTRIBUTING.md).

## Code of Conduct

This project adheres to a code of conduct to ensure a welcoming and inclusive environment. Please take a moment to review our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md) before contributing.
npm package: @halvaradop/tailwindcss-utilities
Description: A TailwindCSS plugin that provides a set of utilities to enhance the default functionalities and offer additional customization options.
Author: Hernan Alvarado
Latest version: 1.0.1

# @halvaradop/tailwindcss-utilities

A utility package for TailwindCSS that provides predefined utilities designed to enhance productivity in application development. These utilities streamline workflows, making it easier and more efficient for developers to build and maintain applications.

---

Explore the full documentation of the package on the [official website](https://tailwindcss-utilities.vercel.app/docs/utilities).

## Contributing

We welcome contributions to the `@halvaradop/tailwindcss` ecosystem! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request. To get started, please review our [Contributing Guidelines](https://github.com/halvaradop/.github/blob/master/.github/CONTRIBUTING.md).

## Code of Conduct

This project adheres to a code of conduct to ensure a welcoming and inclusive environment. Please take a moment to review our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md) before contributing.
npm package: @halvaradop/ts-utility-types
Description: Utility types tools to enhances the productivity using typescript
Author: Hernan Alvarado
Latest version: 0.20.0

# @halvaradop/ts-utility-types

This package provides a collection of utility types designed to enhance productivity and improve the readability of your TypeScript code. It simplifies common tasks and promotes cleaner code structure.

## Installation

To install @halvaradop/ts-utility-types as a dependency in your project, run the following command:

```bash
npm i --save-dev @halvaradop/ts-utility-types
// or
npm i -D @halvaradop/ts-utility-types

```

## Usage

Once installed, you can import the types from your typescript files

```ts
import { Merge } from "@halvaradop/ts-utility-types"

interface Config {
  storePaths: string[]
  hooks: unknown[]
}

interface AppStore {
  path: string
  hooks: ArgsFunction[]
}
// Expect: { storePaths: string[], path: string, hooks: ArgsFunction[] }
export type Store = Merge<Config, AppStore>
```

## TypeHero Challenges

This repository offers solutions to challenges found on [TypeHero](https://typehero.dev/), constructed entirely from scratch without leveraging built-in TypeScript utility types

## Contributing

We welcome contributions to `@halvaradop/ts-utility-types`! If you have an idea for a new type or find an improvement to an existing one, please feel free to open an issue or create a pull request. We offer a guide on how to contribute to the project and the necessary steps to do so. Here's how you can contribute, Read our [Contribuing Guideline](https://github.com/halvaradop/.github/blob/master/.github/CONTRIBUTING.md).

## Code of conduct

Please be aware that this project has a code of conduct, and we expect all contributors to follow these guidelines in their interactions. For more information, please read our [Code of Conduct](https://github.com/halvaradop/.github/blob/master/.github/CODE_OF_CONDUCT.md).
npm package: @halvaradop/tsconfig
Description: Reusable TypeScript configuration presets for @halvaradop projects.
Author: Hernan Alvarado
Latest version: 1.2.1

# `@halvaradop/tsconfig`

[![npm version](https://img.shields.io/npm/v/@halvaradop/tsconfig.svg)](https://www.npmjs.com/package/@halvaradop/tsconfig)
[![license](https://img.shields.io/npm/l/@halvaradop/tsconfig.svg)](https://github.com/halvaradop/configs/blob/master/LICENSE)

A shareable TypeScript configuration that supports `TypeScript Default Project`, `React`, and `Next.js` templates. This package ensures correct configuration based on the type of project.

> This package is part of the [@halvaradop/configs](https://github.com/halvaradop/configs) monorepo, providing standardized configurations for various development tools.

## Installation

Install the package as a development dependency in your project:

```bash
# Using pnpm (recommended)
pnpm add -D @halvaradop/tsconfig

# Using npm
npm install -D @halvaradop/tsconfig

# Using yarn
yarn add -D @halvaradop/tsconfig
```

> **Note**: This package requires TypeScript ^5.0.0 as a peer dependency.

## Usage

### Basic Setup

Create a `tsconfig.json` file in your project root and import the TypeScript configuration according to your requirements:

```json
{
  "extends": "@halvaradop/tsconfig/tsconfig.base.json",
  "compilerOptions": {
    "outDir": "./dist"
  },
  "exclude": ["node_modules"]
}
```

### React Setup

Import the React configuration using your `tsconfig.json` file in your project root:

```json
{
  "extends": "@halvaradop/tsconfig/react.json",
  "exclude": ["node_modules"]
}
```

### Next.js Setup

Import the Next.js configuration using your `tsconfig.json` file in your project root:

```json
{
  "extends": "@halvaradop/tsconfig/nextjs.json",
  "exclude": ["node_modules"]
}
```

## Scripts

Add these scripts to your `package.json` for easy formatting:

```json
{
  "scripts": {
    "dev": "tsc -w",
    "build": "tsc",
    "check-types": "tsc --noEmit",
    "config": "tsc --showConfig"
  }
}
```

## Related Packages

This package is part of the `@halvaradop/configs` ecosystem:

- [`@halvaradop/eslint-config`](https://github.com/halvaradop/configs/tree/master/packages/eslint-config) - ESLint configuration
- [`@halvaradop/prettier-config`](https://github.com/halvaradop/configs/tree/master/packages/prettier-config) - Prettier configuration
- [`@halvaradop/tsup-config`](https://github.com/halvaradop/configs/tree/master/packages/tsup-config) - Tsup configuration

## License

MIT © [Hernan Alvarado](https://github.com/halvaradop)

## Changelog

See [CHANGELOG.md](https://github.com/halvaradop/configs/blob/master/packages/tsconfig/CHANGELOG.md) for details about changes in each version.

---

For comprehensive details on TypeScript configuration options, refer to the [official TypeScript documentation](https://www.typescriptlang.org/tsconfig).
npm package: @halvaradop/ui-core
Description: The core of the @halvaradop/ui library, providing customizable components with Tailwind CSS styling.
Author: Hernan Alvarado
Latest version: 1.0.1

# @halvaradop/ui-core

`@halvaradop/ui-core` provides shared types and utilities for the `@halvaradop/ui` React library. Built with React and styled using TailwindCSS v4, it ensures consistent functionality and design across all packages by centralizing these resources.

## Installation

There are two versions available: one for React 19 (stable) and one for React 18 (legacy)..

### React 19 (Stable)

```bash
npm install @halvaradop/ui-core
yarn add @halvaradop/ui-core
pnpm add @halvaradop/ui-core
```

### React 18 (Legacy)

```bash
npm install @halvaradop/ui-core@legacy
yarn add @halvaradop/ui-core@legacy
pnpm add @halvaradop/ui-core@legacy
```

## Usage

The core package provides essential utilities and types to streamline development with `@halvaradop/ui`.

### Types

You can import the following types to ensure type safety and consistency across your components:

- **`HTMLTag`**: Represents valid HTML tag names.
- **`PropsWithChildren`**: Ensures the `children` prop is required.
- **`HTMLTagAttributes`**: Retrieves the attributes for a given HTML tag.
- **`ComponentProps`**: Similar to `HTMLTagAttributes`, but allows you to omit specific attributes.

Types are available from both the main entry point and the `/types` subpath.

### Utilities

- **`merge`**: A utility function to combine multiple class names, making it easier to manage TailwindCSS classes in your components.

**Example:**

```tsx
import { merge, HTMLTag, PropsWithChildren } from "@halvaradop/ui-core"

function Button({ className, children }: PropsWithChildren & { className?: string }) {
  return <button className={merge("px-4 py-2", className)}>{children}</button>
}
```