UNPKG

@kokkoro/web

Version:

Create web serve for kokkoro.

19 lines (18 loc) 527 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("@kokkoro/core"); class PluginService { getPluginList() { const pluginList = (0, core_1.getPluginList)(); const plugins = []; pluginList.forEach((plugin) => { const { info } = plugin; const element = { info, }; plugins.push(element); }); return plugins; } } exports.default = new PluginService();