# @expo/xcpretty

> Parse and format xcodebuild logs

Latest version **4.4.5** (published 2026-09-08) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @expo/xcpretty
pnpm add @expo/xcpretty
yarn add @expo/xcpretty
bun add @expo/xcpretty
```

Provides the command `excpretty`.

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.4.5 |
| Published | 2026-09-08 |
| First published | 2021-02-26 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 319.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2669 |
| Author | Evan Bacon |
| Maintainers | ide, brentvatne, expoadmin, exponent, bycedric, kudochien, alanhughes, tsapeta, expo-bot, philpl, ccheever, wschurman |
| Keywords | xcodebuild, formatter, logging |

## Links

- npm: https://www.npmjs.com/package/@expo/xcpretty
- Repository: https://github.com/expo/expo-cli
- Issues: https://github.com/expo/expo-cli/issues
- npm.io page: https://npm.io/package/@expo/xcpretty

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [@babel/code-frame](https://npm.io/package/@babel/code-frame.md) ^7.20.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 4.4.5 (latest) — 2026-09-08
- 4.4.4 — 2026-05-06
- 4.4.3 — 2026-04-09
- 4.4.2 — 2026-04-08
- 4.4.1 — 2026-02-23
- 4.4.0 — 2026-01-28
- 4.3.2 — 2024-12-03
- 4.3.1 — 2024-01-12
- 4.3.0 — 2023-12-16
- 4.2.2 — 2022-07-06
- 4.2.1 — 2022-06-27
- 4.2.0 — 2022-06-23
- 4.1.3 — 2022-05-19
- 4.1.2 — 2022-05-04
- 4.1.1 — 2022-03-15
- … 21 more at https://npm.io/package/@expo/xcpretty/versions

## README

# @expo/xcpretty

This can be used to parse and format xcodebuild logs.
The default error and warning format matches that of other tools in the Expo ecosystem.

```ts
import { Formatter } from '@expo/xcpretty';

const formatter = new Formatter({ projectRoot: '/' });

const lines = formatter.pipe('xcodebuild log results...');

for (const line of lines) {
  console.log(line);
}
```

---
_Source: https://npm.io/package/@expo/xcpretty · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
