Skip to main content
Module

x/earthstar/src/entries/npm.ts>getFormatIntersection

Storage for private, distributed, offline-first applications.
Go to Latest
function getFormatIntersection
Re-export
import { getFormatIntersection } from "https://deno.land/x/earthstar@v10.0.2/src/entries/npm.ts";

Given an array of format names, and an array of IFormat, returns an array of IFormat restricted to those with matching names.

Parameters

formatNames: string[]
formats: FormatsArg<F>