configuration/examples/config-loader.ts

13 lines
232 B
TypeScript

import { ConfigLoader } from "../src/config-loader.js";
const loader = new ConfigLoader();
loader
.loadConfig()
.then((config) => {
console.log("config", config);
})
.catch((error) => {
console.error(error);
});