stdhub-plugin-api

0.6.0 • Public • Published

stdhub-plugin-api

Server-side API for bedrock-stdhub developers.

Usage

Construct an instance of StdhubPluginApi:

import { StdhubPluginApi } from 'stdhub-plugin-api';

// Constructing an instance needs a namespace.
// Generally, it is recommended that you directly use your plugin name as the namespace.
const pluginName = 'my-awesome-plugin';
const api = new StdhubPluginApi(pluginName);

and start coding.

The documentation of each method is embedded with code, so rely on IDEs to see them.

/stdhub-plugin-api/

    Package Sidebar

    Install

    npm i stdhub-plugin-api

    Weekly Downloads

    9

    Version

    0.6.0

    License

    GPL-3.0

    Unpacked Size

    34 kB

    Total Files

    21

    Last publish

    Collaborators

    • wesley-young