@dpkit/core
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
12 lines (11 loc) • 349 B
TypeScript
import type { Package } from "./package/index.ts";
export type SavePackageOptions = {
target: string;
withRemote?: boolean;
};
export interface Plugin {
loadPackage?(source: string): Promise<Package | undefined>;
savePackage?(dataPackage: Package, options: SavePackageOptions): Promise<{
path?: string;
} | undefined>;
}