@blockchaincommons/known-values - v1.0.0-beta.4
    Preparing search index...

    Function loadFromDirectory

    • The values of every .json registry file in path, in the host's directory order (the reference's load_from_directory): a missing path or a non-directory yields none; the first unreadable or unparsable file fails the whole load.

      Parameters

      • path: string

      Returns KnownValue[]

      KnownValuesError Io (IO error: …) or Json (JSON parse error in <file>: …)