UNPKG

@dpkit/file

Version:

Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames

14 lines (13 loc) 437 B
import type { Resource } from "@dpkit/core"; export type SaveFile = (options: { propertyName: string; propertyIndex: number; normalizedPath: string; denormalizedPath: string; }) => Promise<string>; export declare function saveResourceFiles(resource: Resource, options: { saveFile: SaveFile; basepath?: string; withRemote?: boolean; withoutFolders?: boolean; }): Promise<import("@dpkit/core").Descriptor>;