Member Junction
    Preparing search index...
    • Unwraps a single export from a UMD library, handling various bundle structures Works with components, utilities, objects, functions, and any other exports

      Parameters

      • library: any

        The library object (e.g., antd, MaterialUI, XLSX)

      • exportName: string

        Name of the export to unwrap (e.g., 'Button', 'utils', 'writeFile')

      • debug: boolean = false

        Whether to log debug information

      Returns any

      The unwrapped export or undefined if not found