MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getSharp

Function getSharp

quote/quote.ts:115–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 } catch (err: any) {
114 const code = err?.code;
115 if (code !== "MODULE_NOT_FOUND" && code !== "ERR_MODULE_NOT_FOUND") throw err;
116 console.warn("quote loader installing npm package", { pkg });
117 npm_install(pkg);
118 return require(pkg);
119 }
120}
121

Callers 5

normalizeAvatarBufferFunction · 0.85
mediaBufferToCanvasFunction · 0.85

Calls 1

requireOrInstallFunction · 0.85

Tested by

no test coverage detected