UNPKG

read-yaml-file

Version:

Read and parse a YAML file

4 lines (2 loc) 136 B
export function sync<T = unknown>(filePath: string): T export default function readYamlFile<T = unknown>(filePath: string): Promise<T>