Hierarchy (view full)

Constructors

Properties

options: {}

Type declaration

    all: any[] = []
    defaultOptions: {
        parse: {
            bom: boolean;
            cast: boolean;
            columns: boolean;
            skip_empty_lines: boolean;
        };
        stringify: {
            header: boolean;
        };
    } = ...

    Type declaration

    • parse: {
          bom: boolean;
          cast: boolean;
          columns: boolean;
          skip_empty_lines: boolean;
      }
      • bom: boolean
      • cast: boolean
      • columns: boolean
      • skip_empty_lines: boolean
    • stringify: {
          header: boolean;
      }
      • header: boolean
    extensions: string[] = ...
    mimeTypes: string[] = ...

    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

    Generated using TypeDoc