UNPKG

@tricoteuses/assemblee

Version:

Retrieve, clean up & handle French Assemblée nationale's open data

16 lines (15 loc) 682 B
export declare function walkDir(rootDir: string, relativeSplitDir?: string[]): Iterable<string[]>; export declare function load(path: string): unknown; export declare function write(something: unknown, filename: string): void; export declare class GetFileNotFoundError { message: string; constructor(message: string); } export declare function getFiles(args: string[]): string[]; export declare function pathNonEmpty(p: string): Promise<boolean>; export declare function shouldSkipOldLegislatureDataset(dataset: { legislature: number | null; }, outputDir: string, { onlyRecent, legislature, }: { onlyRecent?: number; legislature: number[]; }): Promise<boolean>;