Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/npmx-dev/npmx.dev
/ get
Method
get
server/utils/cache/shared.ts:5–5 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
3
*/
4
export
interface
CacheAdapter {
5
get<T>(key: string): Promise<T | undefined>
6
set<T>(key: string, value: T, ttl?: number): Promise<void>
7
delete(key: string): Promise<void>
8
}
Callers
15
resolveAuthors
Function · 0.65
syncFile
Function · 0.65
getMockForUrl
Function · 0.65
handleFastNpmMeta
Function · 0.65
matchUrlToFixture
Function · 0.65
requireAuth
Function · 0.65
createMockConnectorApp
Function · 0.65
getNpmAvatar
Function · 0.65
createConnectorApp
Function · 0.65
getPooledResults
Function · 0.65
Likes.spec.ts
File · 0.65
use-compare-replacements.spec.ts
File · 0.65
Implementers
2
RedisCacheAdapter
server/utils/cache/redis.ts
LocalCacheAdapter
server/utils/cache/local.ts
Calls
no outgoing calls
Tested by
7
getPooledResults
Function · 0.52
parseComponentsDeclaration
Function · 0.52
getTestedComponents
Function · 0.52
mockOsvApi
Function · 0.52
createMicrolinkCachedFetch
Function · 0.52
fetchBadge
Function · 0.52
fetchVulnerabilities
Function · 0.52