@hibikine/utils
Utility functions.
Install
yarn add @hibikine/utils # or npm i @hibikine/utils --save
Functions
wait()
wait(ms: number): Promise<void>
Discussion
import { wait } from '@hibikine/utils';
(async () => {
await wait(2000);
console.log('Hello!'); // Show after 2 secounds
})();
Develop
yarn watch
Build
yarn build