kernl API
Preparing search index...
@kernlize/core
StorageLike
Interface StorageLike
Minimal synchronous key-value store.
localStorage
satisfies it; tests use a Map.
interface
StorageLike
{
getItem
(
key
:
string
)
:
string
|
null
;
removeItem
(
key
:
string
)
:
void
;
setItem
(
key
:
string
,
value
:
string
)
:
void
;
}
Index
Methods
get
Item
remove
Item
set
Item
Methods
get
Item
getItem
(
key
:
string
)
:
string
|
null
Parameters
key
:
string
Returns
string
|
null
remove
Item
removeItem
(
key
:
string
)
:
void
Parameters
key
:
string
Returns
void
set
Item
setItem
(
key
:
string
,
value
:
string
)
:
void
Parameters
key
:
string
value
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Item
remove
Item
set
Item
kernl API
Loading...
Minimal synchronous key-value store.
localStoragesatisfies it; tests use a Map.