Options
All
  • Public
  • Public/Protected
  • All
Menu

Module plugins/utils

Index

Variables

Variables

Const imageUtils

imageUtils: { getImage: (imagePath: string, baseDir?: string) => Promise<Buffer>; getRemoteImage: (path: string) => Promise<Buffer> } = ...

Type declaration

  • getImage: (imagePath: string, baseDir?: string) => Promise<Buffer>
      • (imagePath: string, baseDir?: string): Promise<Buffer>
      • Parameters

        • imagePath: string
        • baseDir: string = ""

        Returns Promise<Buffer>

  • getRemoteImage: (path: string) => Promise<Buffer>
      • (path: string): Promise<Buffer>
      • Parameters

        • path: string

        Returns Promise<Buffer>

Generated using TypeDoc