Initial commit: Example Plugin 2
This commit is contained in:
46
README.md
Normal file
46
README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user