node-cooper-config - v0.2.0
    Preparing search index...

    Function configFile

    • The CASC file to load: path when given (a relative one against root), else config/config.casc under root.

      A relative path is taken against the project root, not the working directory, for the same reason the root is searched for: the program's working directory is an accident of how it was started.

      Parameters

      • where: { path?: string; root: string }

      Returns string

      an absolute path