Home > @infiniteobjects/core-library-node > FileSystem > readYaml
Read and parse a YAML file.
Signature:
static readYaml<T = ObjectLike>(filePath: string, parseOptions?: YamlParserOptions): Promise<T>;
| Parameter | Type | Description |
|---|---|---|
| filePath | string | |
| parseOptions | YamlParserOptions | (Optional) |
Returns:
Promise<T>