CabinetReadCopyimport { CabinetRead } from "https://raw.githubusercontent.com/dan-online/cabinet/master/mod.ts";@exampleconst { reader } = new Cabinet("./file.txt"); reader.sync() class CabinetRead {constructor(fs: Cabinet);private fs: Cabinet;filePath: string; callback(cb: cbErrFile);promise();read(callback?: cbErrFile);sync();}§Constructors§new CabinetRead(fs: Cabinet)[src]§Properties§fs: Cabinet[src]§filePath: string[src]Path to the file §Methods§callback(cb: cbErrFile)[src]Read the file and receive a callback §promise()[src]Read the file and receive a promise §read(callback?: cbErrFile)[src]Read the file with an optional callback §sync()[src]Synchronously read the file