MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / plugin

Function plugin

src/pages/plugin/index.js:1–6  ·  view source on GitHub ↗
({ id, install }, onInstall, onUninstall)

Source from the content-addressed store, hash-verified

1function plugin({ id, install }, onInstall, onUninstall) {
2 import(/* webpackChunkName: "plugins" */ "./plugin").then((res) => {
3 const Plugin = res.default;
4 Plugin(id, onInstall, onUninstall, install);
5 });
6}
7
8export default plugin;

Callers 1

index.jsFile · 0.50

Calls 1

PluginClass · 0.85

Tested by

no test coverage detected