This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs/promises'; | |
/** | |
* A class for reading, writing, and appending data to a file. | |
*/ | |
class FileJS { | |
/** | |
* The name of the file to read, write, or append to. | |
*/ | |
private fileName: string; |