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