Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/formats/util.ts>getFormatsWithFallback

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function getFormatsWithFallback
import { getFormatsWithFallback } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/formats/util.ts";

Returns the default formats if no formats are given.

Parameters

optional
formats: FormatsArg<F>