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

    Function read

    • Reads the configuration options describe.

      A missing default file is an empty configuration, as in cooper_prx: a project that has no config/config.casc yet has nothing to configure, not a reason to refuse to start. A path that was asked for by name and is not there is a mistake, and is refused.

      Parameters

      • Optionaloptions: LoadOptions
      • Optionalcwd: string = ...

        where the project root is searched from (default process.cwd())

      Returns Reading

      for bad options

      when the file does not load or convert