H5P NodeJS Library
    Preparing search index...

    Gets the libraries required to run a specific library. Uses LibraryManager to get metadata for libraries.

    Index

    Constructors

    Methods

    • Gets all dependent libraries of the libraries in the list.

      Parameters

      • libraries: ILibraryName[]

        the libraries whose dependencies should be retrieved

      • options: { dynamic?: boolean; editor?: boolean; preloaded?: boolean } = ...
        • Optionaldynamic?: boolean

          include dependencies that are part of the dynamicDependencies property or used in the content

        • Optionaleditor?: boolean

          include dependencies that are listed in editorDependencies

        • Optionalpreloaded?: boolean

          include regular dependencies that are included in preloadedDependencies

      • OptionaldoNotAdd: ILibraryName[]

        libraries in this list will not be added to the dependency list

      Returns Promise<ILibraryName[]>

      a list of libraries