Main utility class providing methods for project structure and path resolution.

Constructors

Properties

Accessors

Methods

  • Resolves a file or folder path based on the module type (CJS or ESM).

    Parameters

    • filePath: string

      The path to the file or folder.

    Returns string

    The resolved path based on the module type.

  • Resolves a file or folder path relative to the current package, considering development or node_modules usage.

    Parameters

    • fileOrFolderPath: string

      The path to the file or folder starting from the lib folder.

    Returns string

    The resolved path.

  • Resolves a file or folder path relative to the project root.

    Parameters

    • fileOrFolderPath: string

      The path to the file or folder.

    Returns string

    The resolved path.

Generated using TypeDoc