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
2024-03-26 16:28:28 +01:00
..
default.js init commit 2024-03-26 16:28:28 +01:00
index.d.ts init commit 2024-03-26 16:28:28 +01:00
license init commit 2024-03-26 16:28:28 +01:00
node.js init commit 2024-03-26 16:28:28 +01:00
package.json init commit 2024-03-26 16:28:28 +01:00
readme.md init commit 2024-03-26 16:28:28 +01:00

unicorn-magic

Some useful utilities I often need

I'm not accepting requests.

Install

npm install unicorn-magic

Usage

import {delay} from 'unicorn-magic';

await delay({seconds: 1});

console.log('1 second later');

API

See the types.