const fs = require('fs'); const data = fs.readFileSync('/file.md'); // blocks here until file is read