# @medv/prettyjson

> Pretty print JSON library

Latest version **1.0.1** (published 2018-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @medv/prettyjson
pnpm add @medv/prettyjson
yarn add @medv/prettyjson
bun add @medv/prettyjson
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-26 |
| First published | 2018-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Anton Medvedev |
| Maintainers | medv |
| Keywords | prettyprint, json |

## Links

- npm: https://www.npmjs.com/package/@medv/prettyjson
- Repository: https://github.com/antonmedv/prettyjson
- Issues: https://github.com/antonmedv/prettyjson/issues
- npm.io page: https://npm.io/package/@medv/prettyjson

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [indent-string](https://npm.io/package/indent-string.md) ^3.2.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-10-26
- 1.0.0 — 2018-06-26

## README

# 🧢 PrettyJSON

[![Build Status](https://travis-ci.org/antonmedv/prettyjson.svg?branch=master)](https://travis-ci.org/antonmedv/prettyjson)

Pretty JSON printer for [fx](https://github.com/antonmedv/fx)

<img width="716" alt="2018-06-26 22 11 50" src="https://user-images.githubusercontent.com/141232/41921868-0b9ef744-798e-11e8-90f2-92e877441737.png">

## Install

```bash
npm install @medv/prettyjson
```

## Usage

```js
const print = require('@medv/prettyjson')

const value = {...}

console.log(print(value))
```

## License

MIT

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