https://github.com/tortitast/trouter
Deno router
https://github.com/tortitast/trouter
deno
Last synced: 2 months ago
JSON representation
Deno router
- Host: GitHub
- URL: https://github.com/tortitast/trouter
- Owner: TortitasT
- License: gpl-3.0
- Created: 2022-10-25T13:28:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T15:40:31.000Z (over 3 years ago)
- Last Synced: 2024-12-30T20:14:59.479Z (over 1 year ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trouter
Another Deno router.
## Usage
```ts
import { Router } from "https://deno.land/x/trouter@0.1.2/mod.ts";
const router: Router = new Router();
router.get("hello", () => {
return "Hello World";
});
router.listen(80);
```