1.0.8 • Published 11 months ago

@flowscripter/example-plugin-api v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

example-plugin-api

version build coverage docs license: MIT

Example plugin API for the dynamic-plugin-framework

Bun Module Usage

Add the module:

bun add @flowscripter/example-plugin-api

Use the module:

import {
  EXTENSION_POINT_1,
  ExtensionPoint1,
} from "@flowscripter/example-plugin-api";

// ExtensionPoint1 is identified by EXTENSION_POINT_1 identifier

class MyExtensionPointImplementation implements ExtensionPoint1 {
  public sayHello(): void {
    // greetings...
  }
}

Development

Test:

bun test

NOTE: The following tasks use Deno as it excels at these and Bun does not currently provide such functionality:

Format:

deno fmt

Lint:

deno lint index.ts

Generate HTML API Documentation:

deno doc --html --name=example-plugin-api index.ts

Documentation

Overview

classDiagram
    
   class ExtensionPoint1 {
      <<interface>>
      sayHello()
   }

Framework API

Refer to the dynamic-plugin-framework for an overview of what this example is demonstrating.

API

Link to auto-generated API docs:

API Documentation

License

MIT © Flowscripter

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago