# snazzy

> Format JavaScript Standard Style as Stylish (i.e. snazzy) output

Latest version **9.0.0** (published 2020-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install snazzy
pnpm add snazzy
yarn add snazzy
bun add snazzy
```

Provides the command `snazzy`.

## 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 | 9.0.0 |
| Published | 2020-10-27 |
| First published | 2015-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 419 |
| Author | Feross Aboukhadijeh |
| Maintainers | feross |
| Keywords | pretty, pretty output, snazzy standard, standard, standard pretty, stylish, stylish for standard, stylish formatter, stylish reporter, stylish standard |

## Links

- npm: https://www.npmjs.com/package/snazzy
- Repository: https://github.com/feross/snazzy
- Issues: https://github.com/feross/snazzy/issues
- Funding: https://github.com/sponsors/feross
- npm.io page: https://npm.io/package/snazzy

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [inherits](https://npm.io/package/inherits.md) ^2.0.4
- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^6.0.0
- [text-table](https://npm.io/package/text-table.md) ^0.2.0
- [standard-json](https://npm.io/package/standard-json.md) ^1.1.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^3.6.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 9.0.0 (latest) — 2020-10-27
- 8.0.0 — 2018-08-29
- 7.1.1 — 2018-03-01
- 7.1.0 — 2018-02-28
- 7.0.0 — 2017-04-07
- 6.0.0 — 2017-01-11
- 5.0.0 — 2016-09-11
- 4.0.1 — 2016-08-06
- 4.0.0 — 2016-05-02
- 3.0.1 — 2016-04-11
- 3.0.0 — 2016-02-15
- 2.0.1 — 2015-08-09
- 2.0.0 — 2015-08-05
- 1.0.3 — 2015-07-27
- 1.0.2 — 2015-07-25
- … 2 more at https://npm.io/package/snazzy/versions

## README

# snazzy [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

[travis-image]: https://img.shields.io/travis/feross/snazzy/master.svg
[travis-url]: https://travis-ci.org/feross/snazzy
[npm-image]: https://img.shields.io/npm/v/snazzy.svg
[npm-url]: https://npmjs.org/package/snazzy
[downloads-image]: https://img.shields.io/npm/dm/snazzy.svg
[downloads-url]: https://npmjs.org/package/snazzy
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com

### Format [JavaScript Standard Style](https://github.com/feross/standard) as Stylish (i.e. snazzy) output

Converts "compact" text from a linter to "stylish" (i.e. snazzy) output.

![after](img/after.png)

Compared to before:

![before](img/before.png)

## install

```
npm install -g snazzy
```

## usage

Pipe "compact" text into the `snazzy` command to get back pretty results:

```bash
$ standard --verbose | snazzy
```

## note about version 7.0.0

`standard` is no longer bundled with snazzy. You must install `standard` manually
alongside `snazzy`.

Run `npm install standard --save-dev` to get a copy of `standard`, then run
`standard | snazzy` where you previously used to run `snazzy`.

This way requires more steps, but it's better. The user now controls the exact
version of `standard` that is used. And for users who were piping into `snazzy` all
along, this means a quicker install since an extra copy of `standard` will not get
installed.

## license

MIT. Copyright (c) [Feross Aboukhadijeh](https://feross.org).

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