IFClite TypeScript API
    Preparing search index...

    Function loadBundleFromDirectory

    Node-only entry for @ifc-lite/extensions.

    Importing from @ifc-lite/extensions/node brings in pieces that use node:fs / node:path / etc. — currently the directory-walking bundle loader. Reserved for the CLI, the eval harness, and Node tests.

    Browser code (the viewer) imports from @ifc-lite/extensions (root) and gets only browser-safe primitives.

    • Load a bundle from a filesystem directory. Returns a fully-validated Bundle on success.

      Parameters

      • rootDir: string

      Returns Promise<ValidationResult<Bundle>>