UNPKG

@visulima/cerebro

Version:

A delightful toolkit for building cross-runtime CLIs for Node.js, Deno, and Bun.

8 lines (7 loc) 344 B
/** * Gets the terminal width from the CEREBRO_TERMINAL_WIDTH environment variable. * Falls back to undefined if not set, allowing the tabular package to detect it automatically. * @returns The terminal width as a number, or undefined if not set */ declare const getTerminalWidth: () => number | undefined; export default getTerminalWidth;