This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity.eu/node_modules/unicorn-magic/readme.md

26 lines
290 B
Markdown
Raw Normal View History

2024-03-26 16:28:28 +01: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).