Search
Preparing search index...
The search index is not available
@argdown/node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@argdown/node
SaveAsFilePlugin
Class SaveAsFilePlugin
Hierarchy
SaveAsFilePlugin
Implements
IAsyncArgdownPlugin
Index
Constructors
constructor
Properties
defaults
name
run
Async
Methods
get
File
Name
get
Settings
save
As
File
Constructors
constructor
new
Save
As
File
Plugin
(
config
:
ISaveAsSettings
)
:
SaveAsFilePlugin
Parameters
config:
ISaveAsSettings
Returns
SaveAsFilePlugin
Properties
defaults
defaults
:
ISaveAsSettings
name
name
:
string
= "SaveAsFilePlugin"
run
Async
run
Async
:
IAsyncRequestHandler
= ...
Methods
get
File
Name
get
File
Name
(
file
:
string
)
:
string
Parameters
file:
string
Returns
string
get
Settings
get
Settings
(
request
:
IArgdownRequest
)
:
ISaveAsSettings
Parameters
request:
IArgdownRequest
Returns
ISaveAsSettings
save
As
File
save
As
File
(
data
:
string
|
Buffer
, outputDir
:
string
, fileName
:
string
, extension
:
string
, logger
:
IArgdownLogger
)
:
Promise
<
any
>
Parameters
data:
string
|
Buffer
outputDir:
string
fileName:
string
extension:
string
logger:
IArgdownLogger
Returns
Promise
<
any
>
Exports
Save
As
File
Plugin
constructor
defaults
name
run
Async
get
File
Name
get
Settings
save
As
File
Generated using
TypeDoc