@furkanalptokac/sleep-js
v0.0.4
Published
JavaScript sleep function.
Downloads
4
Readme
@furkanalptokac/sleep-js
JavaScript sleep function.
Installing
npm i --save @furkanalptokac/sleep-js
or use Yarn instead
yarn add -D @furkanalptokac/sleep-js
Usage
import sleep from '@furkanalptokac/sleep-js';
sleep(1000); // 1000 ms