Skip to main content

createRouter()

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

Warning: This API is now obsolete.

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

A method to create a router for the scaffolder backend plugin.

Signature:

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

Parameters

Parameter

Type

Description

options

RouterOptions

**Returns:**

Promise<express.Router>