UNPKG

@reliverse/rse

Version:

@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power

9 lines (8 loc) 255 B
import { getTerminalHeight } from "@reliverse/rempts"; export function getMaxHeightSize() { const hSize = getTerminalHeight(); return hSize < 30 ? 10 : hSize; } export function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); }