@dimelords/shared

v0.3.9

Published

Shared library for Dimelords Dashboard Plugin System

Readme

@dimelords/shared

Shared library for Dimelords Dashboard Plugin System. This package provides core functionality for plugin development and management.

Installation

npm install @dimelords/shared

Features

  • Plugin base classes and interfaces
  • Message bus for inter-plugin communication
  • Development and production plugin loaders
  • Type definitions for the plugin system

Usage

import { PluginBase, DashboardPlugin } from '@dimelords/shared';

class MyPlugin extends PluginBase<MyDataType, MyConfigType> {
  render() {
    return <div>My Plugin Content</div>;
  }
}

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

License

MIT