@verdaccio/local-storage
Version:
Local storage implementation
13 lines (12 loc) • 424 B
TypeScript
/// <reference types="node" />
import fs from 'fs';
export declare 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;
}[]>;