Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1012 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 1012 Bytes

@hibikine/utils

Build Status codecov License: MIT dependencies npm version

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