site/node_modules/unicorn-magic/readme.md

26 lines
290 B
Markdown
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
# unicorn-magic
> Some useful utilities I often need
*I'm not accepting requests.*
## Install
```sh
npm install unicorn-magic
```
## Usage
```js
import {delay} from 'unicorn-magic';
await delay({seconds: 1});
console.log('1 second later');
```
## API
See [the types](index.d.ts).