FieldedText TypeScript Library
    Preparing search index...
    • Deserialize an FtMeta object from a file. The format is detected from the file extension when format is not provided.

      Parameters

      • filePath: PathOrFileDescriptor

        The path or file descriptor of the meta file.

      • Optionalwarnings: string[]

        An optional array to receive deserialization warnings.

      • encoding: BufferEncoding = 'utf-8'

        The encoding of the file. Defaults to utf-8.

      • Optionalformat: FtMetaSerializationFormat

        The format of the file. Defaults to the format detected from the file extension.

      Returns FtMeta

      The deserialized meta object.