Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitaryal/router-js
Simple router for CloudFlare workers.
https://github.com/rohitaryal/router-js
cloudflare edge-computing workers
Last synced: about 1 month ago
JSON representation
Simple router for CloudFlare workers.
- Host: GitHub
- URL: https://github.com/rohitaryal/router-js
- Owner: rohitaryal
- License: mit
- Created: 2024-12-16T09:29:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-16T10:15:28.000Z (about 1 month ago)
- Last Synced: 2024-12-16T11:24:16.407Z (about 1 month ago)
- Topics: cloudflare, edge-computing, workers
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 👒 router-js
Very simple router for my CloudFlare workers ⛅## 🎄 Usage
```js
import Router from "./router";const app = new Router();
app.get("/", (req, res, env, ctx) => {
return res.json({
"message": "Request recieved"
});
});
```