MCPcopy Index your code
hub / github.com/vercel/hyper / getPluginName

Function getPluginName

lib/utils/plugins.ts:221–221  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

219const pathModule = window.require('path') as typeof import('path');
220
221const getPluginName = (path: string) => pathModule.basename(path);
222
223const getPluginVersion = (path: string): string | null => {
224 let version = null;

Callers 1

loadModulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected