circu.js
    Preparing search index...

    Interface UseFN

    • Load a built-in module by name

      Type Parameters

      Parameters

      • name: K

        The name of the module to load (e.g. "fs", "dns")

      Returns TjsModules[K]

      The corresponding module object

    • Load a built-in module by name return null if not running in posix os, eg, windows

      Type Parameters

      Parameters

      • name: K

        The name of the module to load (e.g. "posix-ffi")

      Returns TJSOptionalModules[K] | null

      The corresponding module object or null if module not found

    • Module not found, upgrade your circu.js type definitions?

      Parameters

      • name: string

      Returns null