MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / localStorage.ts

File localStorage.ts

apps/web/src/lib/localStorage.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * localStorage utility that silently handles errors and server-side rendering.
3 * Exports a localStorage-like interface that safely handles cases where
4 * localStorage might not be available (e.g., private browsing mode, disabled storage, SSR).

Callers

nothing calls this directly

Calls 3

removeItemMethod · 0.80
getItemMethod · 0.65
setItemMethod · 0.65

Tested by

no test coverage detected