• Check if a file or directory is hidden, or if any of its ancestor directories are hidden.

    Parameters

    • pathname: string

      Path to file or directory

    Returns Promise<boolean>

    Promise resolving to boolean indicating hidden state