Hierarchy (view full)

Constructors

Properties

options: {}

Type declaration

    all: any[] = []
    defaultOptions: {} = {}

    Type declaration

      extensions: any[] = []
      mimeTypes: any[] = []

      Methods

      • Find a registered Format by its name, MIME type, or extension

        Parameters

        • criteria: any

          If string, searches by name, MIME type, or extension, prioritizing name matches. If object, searches by the specific criteria provided.

        • Optional o: {
              require: boolean;
          }

          Options

          • require: boolean

            If true, throws an error if no format is found

        Returns any

      • Parameters

        • options: any
        • action: any

        Returns {}

        • Parameters

          • str: any
          • options: any

          Returns Blob

        • Parameters

          • str: any
          • options: any

          Returns string

        Generated using TypeDoc