# linegauge/widest-line

> Every export of linegauge/widest-line, with its signature and doc comment: widestLine.

Source: https://linegauge.interlace.tools/docs/api/widest-line

<!-- Generated by scripts/api-reference.ts from the built dist/*.d.ts. Do not edit; run `npx tsx scripts/api-reference.ts`. -->

```ts
import widestLine from 'linegauge/widest-line';
```

## Functions

### default

The default export, declared as `widestLine`.

The width of the widest line in `string`, in terminal columns.

```ts
function widestLine(string: string): number;
```

| Parameter | Type |
| :-- | :-- |
| `string` | `string` |

**Returns** `number`
