auditjs
Version:
Audit dependencies to identify known vulnerabilities and maintenance problems
15 lines (14 loc) • 567 B
TypeScript
import { Config } from './Config';
export declare class OssIndexServerConfig extends Config {
protected username: string;
protected token: string;
protected cacheLocation: string;
private server;
constructor(username?: string, token?: string, cacheLocation?: string, server?: string);
getUsername(): string | undefined;
getToken(): string | undefined;
getCacheLocation(): string | undefined;
getServer(): string | undefined;
clearCache(): Promise<boolean>;
getConfigFromFile(saveLocation?: string): OssIndexServerConfig;
}