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

Function normalizePluginAuthor

src/pages/plugins/plugins.js:571–579  ·  view source on GitHub ↗
(plugin)

Source from the content-addressed store, hash-verified

569 }
570
571 function normalizePluginAuthor(plugin) {
572 const { author } = plugin || {};
573 if (!author) return "";
574 if (typeof author === "string") return author;
575 if (typeof author === "object") {
576 return author.name || author.username || author.github || "";
577 }
578 return "";
579 }
580
581 function normalizePluginKeywords(plugin) {
582 const { keywords } = plugin || {};

Callers 1

matchesFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected