How to load default value from a file

I’m currently struggling to load default value from a .yml file and was wondering if someone was able to help me

My backend (settings.js): Hastebin: Send and Save Text or Code Snippets for Free | Toptal®

My frontend (settings.ejs): Hastebin: Send and Save Text or Code Snippets for Free | Toptal®

My config.yml: Hastebin: Send and Save Text or Code Snippets for Free | Toptal®

This is what my console logs =>

{"port":"3000","maxCPU":"30","maxMem":"4","maxDisk":"2"}

And this is what CodeMirror displays =>

{"port":"3000","maxCPU":"30","maxMem":"4","maxDisk":"2"}

Dragging and dropping the yml works completely fine

(
Also my other posts on Stackoverflow/Reddit:

)

This seems rather out of scope for a forum about the editor component library.