wayne icon indicating copy to clipboard operation
wayne copied to clipboard

Service Worker Routing library for in browser HTTP requests

Results 8 wayne issues
Sort by recently updated
recently updated
newest added

Not sure about the API. Maybe based on Express.js [Error Handling](http://expressjs.com/en/guide/error-handling.html).

feature

It seems that ES Modules in Service Worker are not widely supported. So for this case, there is a need to generate a UMD file, while we are at it...

In orinal article code there is: ```javascript resolve(Response.redirect(url + '/', 301)); ``` The library should be able to do that. Possible API: ```javascript app.get('/something', (req, res) => { res.redirect(`${req.url}/`, 301);...

feature

It should work with: - [ ] [BrowserFS](https://github.com/jvilk/BrowserFS) - [ ] [Lightning-fs](https://github.com/isomorphic-git/lightning-fs) It should work similar to express, maybe something like: ```javascript import FS from 'https://cdn.jsdelivr.net/npm/@isomorphic-git/lightning-fs'; const fs = new...

feature

Add a way to see the source code of the demo. It should show the demo and the code side by side.

feature
good first issue

With the following line: ``` const root_url = location.pathname.replace(/\/[^\/]+$/, ''); ``` my root_url could be '/s', which lead to a failed route match for my request starts with '/s', but...

I am using wayne along with htmx and I would like elements to subscribe for specific events as in docs ``` ... ... ``` then accordingly broadcast named events ```...

There should be a website and documentation. This is time-consuming, but I think it will be a good first issue.

good first issue