Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SaveAsFilePlugin

Hierarchy

  • SaveAsFilePlugin

Implements

Index

Constructors

constructor

Properties

defaults

defaults: ISaveAsSettings

name

name: string = "SaveAsFilePlugin"

Methods

getFileName

  • getFileName(file: string): string

getSettings

runAsync

  • runAsync(request: IArgdownRequest, response: IArgdownResponse, logger: IArgdownLogger): Promise<void>

saveAsFile

  • saveAsFile(data: string, outputDir: string, fileName: string, extension: string, logger: IArgdownLogger): Promise<void>

Generated using TypeDoc