BSB Node.js Type Definitions
BSB Docs
GitHub
Preparing search index...
getCategoryFromPluginName
Function getCategoryFromPluginName
getCategoryFromPluginName
(
pluginName
:
string
,
)
:
"config"
|
"events"
|
"observable"
|
"service"
|
"other"
Extract category from plugin name based on directory prefix. Examples:
service-demo-todo -> service
observable-axiom -> observable
events-rabbitmq -> events
config-default -> config
Parameters
pluginName
:
string
Returns
"config"
|
"events"
|
"observable"
|
"service"
|
"other"
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
BSB Documentation
Plugin System
Node.js Guide
BSB Docs
GitHub
BSB Node.js Type Definitions
Loading...
Extract category from plugin name based on directory prefix. Examples: