mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -04:00
18 lines
495 B
TypeScript
18 lines
495 B
TypeScript
import {linkInstaller, pluginInstallPath} from "ep_etherpad-lite/static/js/pluginfw/installer";
|
|
import {readdirSync} from "node:fs";
|
|
import {availablePlugins} from 'ep_etherpad-lite/static/js/pluginfw/installer'
|
|
import {persistInstalledPlugins} from "./commonPlugins";
|
|
|
|
|
|
|
|
const walk = async () => {
|
|
const plugins = await linkInstaller.listPlugins()
|
|
|
|
const pluginNames = plugins.join(" ")
|
|
|
|
console.log("Installed plugins are:", pluginNames)
|
|
}
|
|
|
|
(async () => {
|
|
await walk();
|
|
})();
|