@aopslabs/xf-ui-plugin
v0.2.2
Published
Typed UI plugin definitions and an in-memory plugin registry.
Readme
@aopslabs/xf-ui-plugin
Typed definitions and a small in-memory registry for composing navigation items and pages supplied by UI plugins.
Installation
npm install @aopslabs/xf-ui-pluginUsage
import { createUiPluginRegistry, defineUiPlugin } from '@aopslabs/xf-ui-plugin';
const reports = defineUiPlugin({
id: 'reports',
navigation: [{ id: 'reports.home', label: 'Reports' }],
pages: []
});
const registry = createUiPluginRegistry({ plugins: [reports] });The package contains no rendering framework and can be used as the contract layer for different UI hosts.
License
Copyright (c) 2026 Mehmet Zeki Sönmez.
Licensed under the PolyForm Strict License 1.0.0. The license permits noncommercial use and does not grant permission to modify or redistribute the package.
