Skip to main content
Version: Next

CommandsRouterMatcher

CommandsRouterMatcher

Matcher type for identifying command and middleware files. Can be a string suffix (e.g. '.cmd.js'), RegExp pattern, or custom matcher function.

  • Type: string | RegExp | ( path: string ) => boolean

  • Source