Skip to content

vanakat/plugin-api

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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