UNPKG

session-storage-sync

Version:

sync session storage across multiple browser tabs from same origin

9 lines (8 loc) 615 B
declare const WINDOW_STORAGE_EVENT = "storage"; declare const GET_SESSION_STORAGE_KEY = "_getSessionStorage"; declare const SET_SESSION_STORAGE_KEY = "_setSessionStorage"; declare const CLEAR_SESSION_STORAGE_KEY = "_clearSessionStorage"; declare const DELETE_SESSION_STORAGE_KEY = "_deleteSessionStorage"; declare const ADD_TO_SESSION_STORAGE_KEY = "_addToSessionStorage"; declare const SESSION_STORAGE_ID = "_sessionStorageId"; export { WINDOW_STORAGE_EVENT, GET_SESSION_STORAGE_KEY, SET_SESSION_STORAGE_KEY, CLEAR_SESSION_STORAGE_KEY, DELETE_SESSION_STORAGE_KEY, ADD_TO_SESSION_STORAGE_KEY, SESSION_STORAGE_ID };