grant
grant copied to clipboard
Is there a framework-agnostic API?
trafficstars
I'm very interested in using grant, but I'm not using any of the frameworks (express, koa, etc.) listed in the docs - I'm using solid-start which is relatively new, and which uses file-based routing for defining API routes. I'm assuming I would have to roll my own wrappers which call grant - is there a way I can do this?
You have to create your own handler. I have a framework-agnostic one, but as in Node.js framework agnostic https://github.com/simov/grant/issues/241