readTextFileSync
function readTextFileSync(path): string;
Sync version of readTextFile.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
string
Example
const payload = Rsvim.fs.readTextFileSync("README.md");
function readTextFileSync(path): string;
Sync version of readTextFile.
| Parameter | Type |
|---|---|
|
|
string
const payload = Rsvim.fs.readTextFileSync("README.md");