@dpkit/core
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
16 lines (12 loc) • 338 B
text/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>
}