Standartized way of exposing and using Obsidian Plugin APIs
npm install --save-dev @vanakat/plugin-api
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
Following plugin already use @vanakat/plugin-api
:
- Zotero Bridge as a API provider
- Zotero Link as API consumer
MIT