- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
13 lines
272 B
TypeScript
13 lines
272 B
TypeScript
/**
|
|
Get the visual width of the widest line in a string - the number of columns required to display it.
|
|
|
|
@example
|
|
```
|
|
import widestLine from 'widest-line';
|
|
|
|
widestLine('古\n\u001B[1m@\u001B[22m');
|
|
//=> 2
|
|
```
|
|
*/
|
|
export default function widestLine(string: string): number;
|