Repository
Current version released
4 years ago
Dependencies
std
gar-yaml: load yaml interpolating env variables
Example
import { loadYaml } from './mod.ts';
import { assertEquals } from 'https://deno.land/std@0.79.0/testing/asserts.ts';
const yamlObject = await loadYaml('./test.yml');
assertEquals(typeof yamlObject, 'object');
assertEquals(yamlObject.DENO_ENV, 'development');