@halsp/static
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

Halsp Logo

Halsp - 面向云的现代渐进式轻量 Node.js 框架

GitHub license npm version npm downloads node compatibility Build Status Test Coverage PRs Welcome Gitpod Ready-to-Code

开始使用

请跟随文档 halsp.org 📚

线上示例

请访问 http://mini.halsp.org 🌈

该示例是由 @halsp/cli 生成,运行于 StackBlitz,可以在线编辑、运行、调试

介绍

@halsp/staticHalsp 的静态资源插件

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

安装

npm install @halsp/static

贡献

在提交 PR 前请先阅读 Contributing to Halsp.

遇到问题

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

  1. 查看文档 halsp.org 是否有相关内容
  2. 查看 Discussions 是否有相关讨论
  3. 查看 Issues 是否有相关内容

如果以上没有找到答案:

  • 一般性问题请在讨论区提问 Discussions
  • 代码问题或不符预期的行为请提 Issues

如果你能通过代码解决这个问题欢迎提交 Pull requests

License

MIT

Copyright (c) 2022-present, Hal Wang

Package Sidebar

Install

npm i @halsp/static

Homepage

halsp.org

Weekly Downloads

5,773

Version

2.2.2

License

MIT

Unpacked Size

101 kB

Total Files

55

Last publish

Collaborators

  • hal-wang