Skip to content

vanakat/plugin-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

83d68ca · Oct 26, 2024

History

16 Commits
Jun 15, 2024
Jun 5, 2022
Jun 5, 2022
Jun 6, 2022
Jun 6, 2022
Jun 6, 2022
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Jun 6, 2022

Repository files navigation

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

Examples

Following plugin already use @vanakat/plugin-api:

License

MIT

About

Standartized way to expose and use Obsidian Inter-Plugin APIs

Resources

License

Stars

Watchers

Forks