airship-server
Version:
Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.
10 lines (9 loc) • 360 B
TypeScript
export default class BaseConsoleApplication {
protected env: string;
protected isProduction: boolean;
protected die(error: string): void;
protected getArgs(): any;
protected saveToFile(name: string, data: string): Promise<any>;
protected readFile(name: string): Promise<string>;
protected readDir(dir: string): Promise<string[]>;
}