Skip to main content
Module

x/earthstar/mod.ts>getFormatsWithFallback

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function getFormatsWithFallback
Re-export
import { getFormatsWithFallback } from "https://deno.land/x/earthstar@v10.0.0-beta.6/mod.ts";

Returns the default formats if no formats are given.

Type Parameters

optional
F = DefaultFormats

Parameters

optional
formats: FormatsArg<F>

Returns

FormatsArg<F>