import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { getFormatIntersection } = Earthstar;
Given an array of format names, and an array of IFormat
, returns an array of IFormat
restricted to those with matching names.
Parameters
formats: FormatsArg<F>