Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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"
});
});
```