-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
184 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
input: ["README.md", "docs/**/*.md"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,48 @@ | ||
# H3 | ||
|
||
[![npm version][npm-version-src]][npm-version-href] | ||
[![npm downloads][npm-downloads-src]][npm-downloads-href] | ||
[![bundle][bundle-src]][bundle-href] | ||
[![Codecov][codecov-src]][codecov-href] | ||
[![License][license-src]][license-href] | ||
[![JSDocs][jsdocs-src]][jsdocs-href] | ||
<!-- automd:badges --> | ||
|
||
[![npm version](https://flat.badgen.net/npm/v/h3)](https://npmjs.com/package/h3) | ||
[![npm downloads](https://flat.badgen.net/npm/dm/h3)](https://npmjs.com/package/h3) | ||
|
||
<!-- /automd --> | ||
|
||
H3 (pronounced as /eɪtʃθriː/, like h-3) is a minimal h(ttp) framework built for high performance and portability. | ||
|
||
👉 [Online Playground](https://stackblitz.com/github/unjs/h3/tree/main/playground) | ||
👉 [Documentation](https://h3.unjs.io) | ||
|
||
👉 [Online Examples Playground](https://stackblitz.com/github/unjs/h3/tree/main/examples) | ||
## Contribution | ||
|
||
## Features | ||
<details> | ||
<summary>Local development</summary> | ||
|
||
✔️ **Portable:** Works perfectly in Serverless, Workers, and Node.js | ||
- Clone this repository | ||
- Install the latest LTS version of [Node.js](https://nodejs.org/en/) | ||
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable` | ||
- Install dependencies using `pnpm install` | ||
- Run tests using `pnpm dev` or `pnpm test` | ||
|
||
✔️ **Minimal:** Small and tree-shakable | ||
</details> | ||
|
||
✔️ **Modern:** Native promise support | ||
<!-- /automd --> | ||
|
||
✔️ **Extendable:** Ships with a set of composable utilities but can be extended | ||
## License | ||
|
||
✔️ **Router:** Super fast route matching using [unjs/radix3](https://github.com/unjs/radix3) | ||
<!-- automd:contributors license=MIT author="pi0" --> | ||
|
||
✔️ **Compatible:** Compatibility layer with node/connect/express middleware | ||
Published under the [MIT](https://github.com/unjs/h3/blob/main/LICENSE) license. | ||
Made by [@pi0](https://github.com/pi0) and [community](https://github.com/unjs/h3/graphs/contributors) 💛 | ||
<br><br> | ||
<a href="https://github.com/unjs/h3/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=unjs/h3" /> | ||
</a> | ||
|
||
## License | ||
<!-- /automd --> | ||
|
||
<!-- automd:with-automd --> | ||
|
||
--- | ||
|
||
_🤖 auto updated with [automd](https://automd.unjs.io)_ | ||
|
||
MIT | ||
|
||
<!-- Badges --> | ||
|
||
[npm-version-src]: https://img.shields.io/npm/v/h3?style=flat&colorA=18181B&colorB=F0DB4F | ||
[npm-version-href]: https://npmjs.com/package/h3 | ||
[npm-downloads-src]: https://img.shields.io/npm/dm/h3?style=flat&colorA=18181B&colorB=F0DB4F | ||
[npm-downloads-href]: https://npmjs.com/package/h3 | ||
[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/h3/main?style=flat&colorA=18181B&colorB=F0DB4F | ||
[codecov-href]: https://codecov.io/gh/unjs/h3 | ||
[bundle-src]: https://img.shields.io/bundlephobia/minzip/h3?style=flat&colorA=18181B&colorB=F0DB4F | ||
[bundle-href]: https://bundlephobia.com/result?p=h3 | ||
[license-src]: https://img.shields.io/github/license/unjs/h3.svg?style=flat&colorA=18181B&colorB=F0DB4F | ||
[license-href]: https://github.com/unjs/h3/blob/main/LICENSE | ||
[jsdocs-src]: https://img.shields.io/badge/jsDocs.io-reference-18181B?style=flat&colorA=18181B&colorB=F0DB4F | ||
[jsdocs-href]: https://www.jsdocs.io/package/h3 | ||
<!-- /automd --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.