Function loadYmlSync

  • load .yml or .yaml sync

    Parameters

    • path: string | URL | Buffer

      file path

    Returns unknown

    • result

    Example

    import { loadYmlSync } from 'load-yml'
    const data = loadYmlSync('/path/of/yaml') // \{ "name": "saqqdy" \}

Generated using TypeDoc