sleep-monve
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

sleep

just a easy way to await sleep

Usage

import { sleep } from '@monvechen/sleep';

const main = async () => {
  //sleep 1000 ms
  await sleep(1000);
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.30

Package Sidebar

Install

npm i sleep-monve

Weekly Downloads

0

Version

1.0.3

License

Apache-2.0

Unpacked Size

14.5 kB

Total Files

7

Last publish

Collaborators

  • monvechen