Options
All
  • Public
  • Public/Protected
  • All
Menu

A catalog based on one or more JavaScript modules in a directory.

Hierarchy

Implements

Index

Constructors

constructor

  • Initializes a new instance of that class.

    Parameters

    Returns DirectoryCatalog

Properties

directory

directory: string

The path to the directory.

Optional options

Methods

getClasses

  • getClasses(): Promise<any[]>

getClassesSync

  • getClassesSync(): any[]

Private getGlobOptions

  • getGlobOptions(): Options
  • Returns Options

Private getPatterns

  • getPatterns(): string[]
  • Returns string[]

Private loadClasses

  • loadClasses(files: string[]): any[]
  • Parameters

    • files: string[]

    Returns any[]

Generated using TypeDoc