class CabinetRe-exportimport { Cabinet } from "https://deno.land/x/cabinet@v1.1.1/mod.ts"; ExamplesExample 1 const file = new Cabinet("./file.txt"); file.read() ConstructorsnewCabinet(file: string)PropertiesprivatelastDecode: { input: Uint8Array; type: string; decoded: string; }privatelastEncode: { encoded: Uint8Array; input: string; }deleter: CabinetDeleteFile deleter filePath: stringPath to the file mover: CabinetMoverFile mover reader: CabinetReadFile reader writer: CabinetWriteFile writer Methodsdecode(input: any, decoding?: string)Decode Uint8Array with optional decoding delete(cb?: cbErrFile)Delete the file with an optional callback encode(input: string)Encode text to UintArray move(location: string, cb?: (err?: CabinetError) => void)Move the file with an optional callback read(cb?: cbErrFile)Read the file with an optional callback toJSON()write(data: any, cb?: cbErrFile)Write to the file with an optional callback Static Propertiesresolve: (...paths: string[]) => string