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 npm_install(pkg);
114 return require(pkg);
115 }
116}
117
118async function getSharp(): Promise<any> {
119 if (!sharpPromise) sharpPromise = Promise.resolve(requireOrInstall("sharp"));
120 return sharpPromise;
121}

Callers 5

normalizeAvatarBufferFunction · 0.85
mediaBufferToCanvasFunction · 0.85

Calls 1

requireOrInstallFunction · 0.85

Tested by

no test coverage detected