Preparing search index...
The search index is not available
@supuwoerc/utils
@supuwoerc/utils
core
Storage
Class Storage<Mapping>
Type Parameters
Mapping
extends
Record
<
keyof
unknown
,
unknown
>
Hierarchy
Storage
Index
Constructors
constructor
Properties
prefix
storage
Methods
clear
get
get
Key
remove
set
parse
stringify
Constructors
constructor
new
Storage
<
Mapping
>
(
options
?
)
:
Storage
<
Mapping
>
Type Parameters
Mapping
extends
Record
<
never
,
unknown
>
Parameters
Optional
options
:
StorageOptions
Returns
Storage
<
Mapping
>
Properties
Private
prefix
prefix
:
undefined
|
string
|
string
[]
= ''
Private
storage
storage
:
Storage
Methods
clear
clear
(
)
:
void
Returns
void
get
get
<
Key
,
Value
>
(
key
)
:
null
|
Value
Type Parameters
Key
extends
string
|
number
|
symbol
Value
=
Mapping
[
Key
]
Parameters
key
:
Key
Returns
null
|
Value
Private
get
Key
get
Key
(
key
)
:
string
Parameters
key
:
string
|
number
|
symbol
Returns
string
remove
remove
<
Key
>
(
key
)
:
void
Type Parameters
Key
extends
string
|
number
|
symbol
Parameters
key
:
Key
Returns
void
set
set
<
Key
,
Value
>
(
key
,
value
)
:
void
Type Parameters
Key
extends
string
|
number
|
symbol
Value
=
Mapping
[
Key
]
Parameters
key
:
Key
value
:
Value
Returns
void
Static
parse
parse
<
T
>
(
v
)
:
T
Type Parameters
T
Parameters
v
:
string
Returns
T
Static
stringify
stringify
(
v
)
:
string
Parameters
v
:
unknown
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
prefix
storage
clear
get
get
Key
remove
set
parse
stringify
@supuwoerc/utils
core
Storage
clear
All
Cookie
ensure
Prefix
ensure
Suffix
flow
Func
generateUUID
get
Array
Item
get
Cookie
get
Query
Param
get
Query
Params
move
Array
Item
remove
Array
Item
save
File
set
Cookie
swap
Array
Item
to
String
uniq
unique
By
core/types
Equal
Func
Storage
Options
css
add
Class
get
Element
Selector
has
Class
remove
Class
tree
array2
Tree
get
Parents
get
Target
From
Tree
tree2
Array
tree/types
Tree
Node
Equal
Func
Tree
vendor
debounce
throttle
verdict
is
Boolean
is
Date
is
Defined
is
Function
is
Http
Or
Https
is
Mobile
is
Null
is
Number
is
Object
is
Pc
is
Reg
Exp
is
String
is
Support
Font
Family
is
Undefined
Generated using
TypeDoc