Functions
readFrom
- readFrom(from: string, filename: string, format?: BufferEncoding): Promise<string>
Parameters
from: string
filename: string
format: BufferEncoding = "utf8"
Returns Promise<string>
readFromGenerator
- readFromGenerator(from: string): (filename: string, format?: BufferEncoding) => Promise<string>
Parameters
Returns (filename: string, format?: BufferEncoding) => Promise<string>
- (filename: string, format?: BufferEncoding): Promise<string>
Parameters
filename: string
format: BufferEncoding = "utf8"
Returns Promise<string>
readFromSync
- readFromSync(from: string, filename: string, format?: BufferEncoding): string
Parameters
from: string
filename: string
format: BufferEncoding = "utf8"
Returns string
readFromSyncGenerator
- readFromSyncGenerator(from: string): (filename: string, format?: BufferEncoding) => string
Parameters
Returns (filename: string, format?: BufferEncoding) => string
- (filename: string, format?: BufferEncoding): string
Parameters
filename: string
format: BufferEncoding = "utf8"
Returns string