Theia API Documentation v1.77.0
    Preparing search index...
    • Extracts extension identity from a VSIX file by reading its package.json.

      VSIX files are ZIP archives with the extension content in an extension/ subdirectory. This function extracts only the extension/package.json file to read the extension metadata.

      Parameters

      • vsixPath: string

        Path to the VSIX file

      • archiveExtractor: ArchiveExtractor = defaultArchiveExtractor

        the extractor used to read the VSIX file

      Returns Promise<PluginIdentifiers.Components | undefined>

      PluginIdentifiers.Components (publisher?, name, version), or undefined if the package.json cannot be read or is invalid