motionlink-cli
Version:
Making it easy to use Notion as a Content Management system for personal websites, portfolios, blogs, business homepages, and other kinds of static websites.
10 lines (9 loc) • 367 B
TypeScript
export default class FileSystemService {
readFileAsString(path: string): string;
writeStringToFile(data: string, path: string): void;
doesFolderExist(path: string): boolean;
createFolder(path: string): void;
private static _instance;
static get instance(): FileSystemService;
static setMockedInstance(instance: FileSystemService): void;
}