Delay Promises & Performance # install npm install delay-9p --save # import import delay from "delay-9p" Example usage delay(200) .then(_ => { console.log("it worked") })