UNPKG
peadb
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
"Pea sized JavaScript DB: wrapper for browser storage APIs"
peadb
/
dist
/
esm
/
sessiondb.d.ts
12 lines
(11 loc)
•
314 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
default
class
SessionDB
{
private
readonly
storage;
private
dbKey;
constructor
(
dataKey
:
string
);
get
(
key
:
string
):
string
|
null
;
getAll
():
string
[] |
null
;
set
(
key
:
string
,
value
:
string
):
void
;
delete
(
key
:
string
):
void
;
deleteAll
():
void
;
nukeDB
():
void
; }