OBF Node
Preparing search index...
External
Variable External
Const
External
:
{
trim_empties
(
hash
:
Record
<
string
,
any
>
)
:
Record
<
string
,
any
>
;
parse_license
(
pre_license
:
any
)
:
Record
<
string
,
any
>
;
fix_color
(
str
:
string
,
targetFormat
?:
"hex"
|
"rgb"
)
:
string
;
to_obf
(
hash
:
any
,
destPath
?:
string
|
null
,
pathHash
?:
PathHash
|
null
,
toInclude
?:
ToIncludeOptions
,
)
:
Promise
<
string
|
null
>
;
to_obz
(
content
:
any
,
destPath
:
string
,
opts
?:
{
to_include
?:
ToIncludeOptions
}
,
)
:
Promise
<
string
>
;
from_obf
(
obfJsonOrPath
:
string
|
OBFPage
,
opts
?:
{
zipper
?:
JSZip
;
manifest
?:
any
}
,
)
:
Promise
<
OBFPage
>
;
from_obz
(
obzPath
:
string
,
)
:
Promise
<
{
boards
:
OBFPage
[]
;
images
:
OBFImage
[]
;
sounds
:
OBFSound
[]
}
>
;
}
= ...
Type Declaration
trim_empties
:
function
trim_empties
(
hash
:
Record
<
string
,
any
>
)
:
Record
<
string
,
any
>
Parameters
hash
:
Record
<
string
,
any
>
Returns
Record
<
string
,
any
>
parse_license
:
function
parse_license
(
pre_license
:
any
)
:
Record
<
string
,
any
>
Parameters
pre_license
:
any
Returns
Record
<
string
,
any
>
fix_color
:
function
fix_color
(
str
:
string
,
targetFormat
?:
"hex"
|
"rgb"
)
:
string
Parameters
str
:
string
targetFormat
:
"hex"
|
"rgb"
= 'rgb'
Returns
string
to_obf
:
function
to_obf
(
hash
:
any
,
destPath
?:
string
|
null
,
pathHash
?:
PathHash
|
null
,
toInclude
?:
ToIncludeOptions
,
)
:
Promise
<
string
|
null
>
Parameters
hash
:
any
destPath
:
string
|
null
= null
pathHash
:
PathHash
|
null
= null
toInclude
:
ToIncludeOptions
= {}
Returns
Promise
<
string
|
null
>
to_obz
:
function
to_obz
(
content
:
any
,
destPath
:
string
,
opts
?:
{
to_include
?:
ToIncludeOptions
}
,
)
:
Promise
<
string
>
Parameters
content
:
any
destPath
:
string
opts
:
{
to_include
?:
ToIncludeOptions
}
= {}
Returns
Promise
<
string
>
from_obf
:
function
from_obf
(
obfJsonOrPath
:
string
|
OBFPage
,
opts
?:
{
zipper
?:
JSZip
;
manifest
?:
any
}
,
)
:
Promise
<
OBFPage
>
Parameters
obfJsonOrPath
:
string
|
OBFPage
opts
:
{
zipper
?:
JSZip
;
manifest
?:
any
}
= {}
Returns
Promise
<
OBFPage
>
from_obz
:
function
from_obz
(
obzPath
:
string
,
)
:
Promise
<
{
boards
:
OBFPage
[]
;
images
:
OBFImage
[]
;
sounds
:
OBFSound
[]
}
>
Parameters
obzPath
:
string
Returns
Promise
<
{
boards
:
OBFPage
[]
;
images
:
OBFImage
[]
;
sounds
:
OBFSound
[]
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
OBF Node
Loading...