Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Common

Hierarchy

  • Common

Index

Methods

Static comps

  • comps(path: string): string[]

Static dirname

  • dirname(path: string): string

Static fetch

  • fetch(url: string): Promise<string>

Static getResource

  • getResource(filepath: string, workpath?: string): string
  • Parameters

    • filepath: string
    • Default value workpath: string = ""

    Returns string

Static join

  • join(...args: string[]): string