@dpkit/zenodo
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
16 lines (15 loc) • 472 B
TypeScript
import type { ZenodoResource } from "../Resource.ts";
/**
* Normalizes a Zenodo file to Frictionless Data resource format
* @param props Object containing the Zenodo file to normalize
* @returns Normalized Resource object
*/
export declare function normalizeZenodoResource(zenodoResource: ZenodoResource): {
path: string;
name: string;
format: string | undefined;
bytes: number;
hash: string;
"zenodo:key": string;
"zenodo:url": string;
};