wait Install yarn add @mofe/wait Usage const wait = require('@mofe/wait') async function main(){ await wait(3000) // wait 3000ms } main()