Never Propel Marmalade

    @vanakat/plugin-api
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    Obsidian Plugin API

    Standartized way of exposing and using Obsidian Plugin APIs

    Installation

    npm install --save-dev @vanakat/plugin-api

    Usage

    This module exposes 2 functions:

    • registerAPI(name, api, plugin) - registers plugin API in global variable (window)
    • pluginApi(name) - returns plugin API based on its name

    License

    MIT

    Install

    npm i @vanakat/plugin-api

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.15 kB

    Total Files

    5

    Last publish

    Collaborators

    • sgazanchyan