JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1726663
  • Score
    100M100P100Q195304F
  • License BSD-3-Clause

Parse and format xcodebuild logs

Package Exports

  • @expo/xcpretty
  • @expo/xcpretty/build/index.js
  • @expo/xcpretty/build/switchRegex
  • @expo/xcpretty/build/switchRegex.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@expo/xcpretty) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.

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