added doga

This commit is contained in:
szabomarton
2025-02-25 09:55:29 +01:00
parent 5174ab4cc4
commit 13254e5623
1149 changed files with 80161 additions and 0 deletions

26
25_02_24/node_modules/@tinyhttp/router/README.md generated vendored Normal file
View File

@@ -0,0 +1,26 @@
# @tinyhttp/router
[![npm (scoped)][npm-badge]](https://npmjs.com/package/@tinyhttp/router) [![npm][dl-badge]](https://npmjs.com/package/@tinyhttp/router)
Framework-agnostic HTTP router.
## Install
```sh
pnpm i @tinyhttp/router
```
## Example
```js
import { Router } from '@tinyhttp/router'
const router = new Router()
router.get('/', (req, res) => res.send('Hello World'))
console.log(router.middleware)
```
[npm-badge]: https://img.shields.io/npm/v/@tinyhttp/router?style=flat-square
[dl-badge]: https://img.shields.io/npm/dt/@tinyhttp/router?style=flat-square