UNPKG

@verdaccio/local-storage

Version:

Local storage implementation

12 lines (11 loc) 400 B
import { default as fs } from 'fs'; export type LocalStorage = { list: any; secret: string; }; export declare function getFileStats(packagePath: string): Promise<fs.Stats>; export declare function readDirectory(packagePath: string): Promise<string[]>; export declare function findPackages(storagePath: string, validationHandler: Function): Promise<{ name: string; path: string; }[]>;