Skip to content

Standartized way to expose and use Obsidian Inter-Plugin APIs

License

Notifications You must be signed in to change notification settings

vanakat/plugin-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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