v1.0
deno module for reading yaml file, based on deno standard library
Repository
Current version released
2 years ago
Dependencies
std
Versions
dallmo-yaml
- a simple yaml file reader
- re-written to base only on deno standard libraries
dependencies
all of deno standard library.
Deno.readTextFile- https://deno.land/std/yaml
usage
import { dallmo_yaml } from "[path to]/mod.ts";
const config_file = "config.yaml";
const config_obj = await dallmo_yaml( config_file );
console.log( config_obj );test
to run test codes :
- switch to the folder “test” ;
- run
deno test --allow-read;