@dpkit/core
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
12 lines (11 loc) • 352 B
TypeScript
/**
* Load a descriptor (JSON Object) from a file or URL
* Uses dynamic imports to work in both Node.js and browser environments
* Supports HTTP, HTTPS, FTP, and FTPS protocols
*/
export declare function loadDescriptor(path: string, options?: {
onlyRemote?: boolean;
}): Promise<{
descriptor: Record<string, any>;
basepath: string;
}>;