What is the best way to pause execution in Node.js?

If you prefer to avoid async/await and still want to handle delays in a cleaner way than callbacks, you can create a Promise with a delay and use .then() to execute code after the delay:

function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}

sleep(10000).then(() => {
    console.log('Blah blah blah blah extra-blah');
});