Skip to main content

createRouter()

Home > @backstage/plugin-search-backend > createRouter

Warning: This API is now obsolete.

Please migrate to the new backend system as this will be removed in the future.

Signature:

function createRouter(options: RouterOptions): Promise<express.Router>;

Parameters

Parameter

Type

Description

options

RouterOptions

**Returns:**

Promise<express.Router>