47 lines
754 B
Markdown
47 lines
754 B
Markdown
# Example Plugin 2
|
|
|
|
A second demonstration plugin showing additional plugin system capabilities.
|
|
|
|
## Features
|
|
|
|
- ✅ Data filtering hooks
|
|
- ✅ Input validation
|
|
- ✅ Text transformation
|
|
- ✅ Configurable periodic tasks
|
|
- ✅ Multi-hook patterns
|
|
|
|
## Plugin Manifest
|
|
|
|
```json
|
|
{
|
|
"id": "example-plugin-2",
|
|
"name": "Example Plugin 2",
|
|
"version": "1.0.0",
|
|
"author": "litruv",
|
|
"main": "index.js"
|
|
}
|
|
```
|
|
|
|
## Hooks Provided
|
|
|
|
- `filter-data` - Filters out null/undefined values from arrays
|
|
- `validate-input` - Validates string inputs
|
|
- `transform-text` - Converts text to uppercase
|
|
|
|
## Configuration
|
|
|
|
```json
|
|
{
|
|
"enabled": true,
|
|
"interval": 60000
|
|
}
|
|
```
|
|
|
|
## Usage
|
|
|
|
This plugin automatically activates when loaded by the Plugin Host.
|
|
|
|
## License
|
|
|
|
MIT
|