You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to attach budō to existing express app (in dev mode). It would be cool if it could be used programmatically as middleware instead of writing custom code that way. Quick look at the source convinced me that it is not something impossible as budō acts allready as middleware composer (correct me if I'm wrong).
The api could be budo.middleware(options) or budo(options).middleware() with budo(options).listen(port) to match express style. This is probably related to #122 and #91
The text was updated successfully, but these errors were encountered:
I think it might be worth pulling the budo core into its own module. In other projects I've needed something like that. 😊 Just a matter of finding time.
I'm looking for a way to attach budō to existing express app (in dev mode). It would be cool if it could be used programmatically as middleware instead of writing custom code that way. Quick look at the source convinced me that it is not something impossible as budō acts allready as middleware composer (correct me if I'm wrong).
The api could be
budo.middleware(options)
orbudo(options).middleware()
withbudo(options).listen(port)
to match express style. This is probably related to #122 and #91The text was updated successfully, but these errors were encountered: