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

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

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

Returns an object with format names as keys, and corresponding IFormat as values.

Parameters

optional
formats: FormatsArg<F>

Returns

Record<string, FormatArg<F>>