import { StorageDriver } from "@skygear/core" ; const globalLocalStorage = localStorage ; public export const localStorageStorageDriver = { async get ( key ) { return globalLocalStorage . getItem ( key ) ; } , async set ( key , value ) { return globalLocalStorage . setItem ( key , value ) ; } , async del ( key ) { return globalLocalStorage . removeItem ( key ) ; } } ;