npm.io
4.4.4 • Published 2 months agoCLI

@expo/xcpretty

Licence
BSD-3-Clause
Version
4.4.4
Deps
3
Size
315 kB
Vulns
0
Weekly
0
Stars
2.7K

@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.

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);
}

Keywords