Preparing search index...
The search index is not available
@fingerprintjs/fingerprintjs-pro-spa
@fingerprintjs/fingerprintjs-pro-spa
LocalStorageCache
Class LocalStorageCache
Implementation of caching that uses local storage
Implements
ICache
Index
Constructors
constructor
Properties
prefix
Methods
all
Keys
get
remove
set
Constructors
constructor
new
Local
Storage
Cache
(
prefix
?
)
:
LocalStorageCache
Parameters
prefix
:
string
= CACHE_KEY_PREFIX
Returns
LocalStorageCache
Properties
prefix
prefix
:
string
= CACHE_KEY_PREFIX
Methods
all
Keys
all
Keys
(
)
:
string
[]
Returns
string
[]
get
get
<
T
>
(
key
)
:
undefined
|
T
Type Parameters
T
=
Cacheable
Parameters
key
:
string
Returns
undefined
|
T
remove
remove
(
key
)
:
void
Parameters
key
:
string
Returns
void
set
set
<
T
>
(
key
,
entry
)
:
void
Type Parameters
T
=
Cacheable
Parameters
key
:
string
entry
:
T
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
prefix
all
Keys
get
remove
set
@fingerprintjs/fingerprintjs-pro-spa
Loading...
Implementation of caching that uses local storage