Class: Storage
Defined in: packages/utils/src/storage.ts:24
Constructors
new Storage()
new Storage(
options
):Storage
Defined in: packages/utils/src/storage.ts:32
Parameters
options
Partial
<StorageOptions
> = {}
Returns
Properties
options
options:
StorageOptions
Defined in: packages/utils/src/storage.ts:25
Methods
clear()
clear(
opts
):void
Defined in: packages/utils/src/storage.ts:95
Parameters
opts
Partial
<StorageOptions
> = {}
Returns
void
config()
config(
options
):void
Defined in: packages/utils/src/storage.ts:40
Parameters
options
Partial
<StorageOptions
> = {}
Returns
void
get()
get(
key
,opts
):any
Defined in: packages/utils/src/storage.ts:59
Parameters
key
string
opts
Partial
<StorageOptions
> = {}
Returns
any
remove()
remove(
key
,opts
):void
Defined in: packages/utils/src/storage.ts:85
Parameters
key
string
opts
Partial
<StorageOptions
> = {}
Returns
void
save()
save(
key
,value
,opts
):void
Defined in: packages/utils/src/storage.ts:43
Parameters
key
string
value
any
opts
Partial
<StorageOptions
> = {}
Returns
void