Skip to content

basalt / express/src / expressPlugin

Function: expressPlugin() ​

> expressPlugin(options?): BasaltPlugin<unknown>

Defined in: express/src/index.ts:427

Runs Basalt on Express. The same routes, enrichers, guards and edge plugins you register for Fastify work unchanged — resolve EXPRESS for the app to listen().

Parameters ​

options? ​

ExpressPluginOptions = {}

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.