Wait for a specified amount of time, then return a promise.
$ npm install --save wait-p
const wait = require('wait-p');
wait(100).then(() => {
// 100 ms later ...
});
Type: number
The amount of milliseconds you want to wait.
MIT © Michael Wuergler