Options
All
  • Public
  • Public/Protected
  • All
Menu

Module generate-output-path.function

Index

Functions

Functions

Const generateOutputPath

  • generateOutputPath(filename: string, params?: { path?: string; postfix?: string; prefix?: string; type?: FileType }): string
  • generateOutputPath is used to assemble full file path from a filename and various parameters

    Parameters

    • filename: string

      The base filename

    • Optional params: { path?: string; postfix?: string; prefix?: string; type?: FileType }

      A config object which allows to configure FileType, base path, filename prefix and filename postfix

      • Optional path?: string
      • Optional postfix?: string
      • Optional prefix?: string
      • Optional type?: FileType

    Returns string