Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vercel/hyper
/ getPluginsByKey
Function
getPluginsByKey
cli/api.ts:72–73 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
70
);
71
72
const
getPluginsByKey = (key: string): any[] =>
73
getProperties().find((property) => property?.key?.name === key)?.value?.elements || [];
74
75
const
getPlugins = memoize(() => {
76
return
getPluginsByKey(
'plugins'
);
Callers
1
api.ts
File · 0.85
Calls
1
find
Method · 0.45
Tested by
no test coverage detected