0.1.1 • Published 2 years ago
dallmo-read-config v0.1.1
dallmo-read-config
- a simple config reader based on
fs
andjs-yaml
; - config file assumed to be yaml ;
- compatible with both cjs and esm, by following the advice of a post by Dan Fabulich
usage
cjs
const read_config = require("dallmo-read-config");
esm
import {read_config} from 'dallmo-read-config';