# Pretty Stream

## Install

`npm install @tryghost/pretty-stream --save`

or

`pnpm add @tryghost/pretty-stream`

## Purpose

Pretty-print stream formatter used to render structured logs in human-readable form.

## Usage

Used by `@tryghost/logging` and `@tryghost/metrics`.

## Develop

This is a mono repository, managed with [Nx](https://nx.dev).

Follow the instructions for the top-level repo.

1. `git clone` this repo & `cd` into it as usual
2. Run `pnpm install` to install top-level dependencies.

## Run

- `pnpm dev`

## Test

- `pnpm lint` runs oxlint
- `pnpm test` runs lint and tests

# Copyright & License

Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE).
