Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

283 B
Raw Blame
import { LOCAL_STORAGE_KEY_PREFIX } from './persistence.constants';

export function joinLocalStorageKey(...parts: string[]) {
  return parts.join(':');
}

export function buildLocalStorageKey(...parts: string[]) {
  return joinLocalStorageKey(LOCAL_STORAGE_KEY_PREFIX, ...parts);
}