Skip to main content

Extensions of the @vulcan-sql/serve package

The @vulcan-sql/serve provides 4 extension components:

ExtensionsDescription
BaseAuthenticatorBeside simple-token, password-file and basic, extend BaseAuthenticator to could provide other authentication
DocumentRouterBeside redoc layout style and documentation url route, extend DocumentRouter to provide other API documentation layout style
BaseResponseFormatterBeside json and csv, extend BaseResponseFormatter to API could provide other response format
BaseRouteMiddlewareBeside current built-in middlewares e.g: cors, rate-limit ..., extend BaseRouteMiddleware to make API Server could do some prefix or postfix feature