3 ms·
Not too long ago I discovered itty-router and since then it's the only thing I need for my APIs. It's extremely minimalist, I just create a context object and
by eddd-ddde 3y ago
Not too long ago I discovered itty-router and since then it's the only thing I need for my APIs.
It's extremely minimalist, I just create a context object and implement in it any functionality I need such as headers, error handling, anything.
I even use it for "CLIs" that I then call with curlie.