hypno returns a promise that resolves after a given ms usage var sleep = require('hypno') await sleep(1000)