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

      Parameters

      • meta: FtMeta

        The meta object to serialize.

      • filePath: PathOrFileDescriptor

        The output path or file descriptor.

      • Optionaloptions: FtMetaSerializerOptions

        Optional serialization options.

      • encoding: BufferEncoding = 'utf-8'

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

      • Optionalformat: FtMetaSerializationFormat

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

      Returns void