Search
Preparing search index...
The search index is not available
BrowserFS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
LocalStorageStore
Class LocalStorageStore
A synchronous key-value store backed by localStorage.
Hierarchy
LocalStorageStore
Implements
SyncKeyValueStore
SimpleSyncStore
Index
Methods
begin
Transaction
clear
del
get
name
put
Methods
begin
Transaction
begin
Transaction
(
type
:
string
)
:
SyncKeyValueRWTransaction
Parameters
type:
string
Returns
SyncKeyValueRWTransaction
clear
clear
(
)
:
void
Returns
void
del
del
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
get
get
(
key
:
string
)
:
Buffer
|
undefined
Parameters
key:
string
Returns
Buffer
|
undefined
name
name
(
)
:
string
Returns
string
put
put
(
key
:
string
, data
:
Buffer
, overwrite
:
boolean
)
:
boolean
Parameters
key:
string
data:
Buffer
overwrite:
boolean
Returns
boolean
Globals
Local
Storage
Store
begin
Transaction
clear
del
get
name
put
Generated using
TypeDoc
A synchronous key-value store backed by localStorage.