Preparing search index...
The search index is not available
augment-vir - v31.2.0
augment-vir
writeJsonFile
Function writeJsonFile
writeJsonFile
(
path
:
string
,
data
:
JsonCompatibleValue
,
options
?:
PartialWithUndefined
<
{
includeTrailingNewLine
:
boolean
}
>
,
)
:
Promise
<
void
>
Write to a file and stringify
data
as JSON before doing so.
Parameters
path
:
string
data
:
JsonCompatibleValue
options
:
PartialWithUndefined
<
{
includeTrailingNewLine
:
boolean
}
>
= {}
Returns
Promise
<
void
>
Package
@augment-vir/node
See
readJsonFile
appendJsonFile
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
augment-vir - v31.2.0
Loading...
Write to a file and stringify
data
as JSON before doing so.