1 | # snazzy [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url]
|
2 |
|
3 | [travis-image]: https://img.shields.io/travis/feross/snazzy.svg?style=flat
|
4 | [travis-url]: https://travis-ci.org/feross/snazzy
|
5 | [npm-image]: https://img.shields.io/npm/v/snazzy.svg?style=flat
|
6 | [npm-url]: https://npmjs.org/package/snazzy
|
7 | [downloads-image]: https://img.shields.io/npm/dm/snazzy.svg?style=flat
|
8 | [downloads-url]: https://npmjs.org/package/snazzy
|
9 |
|
10 | ### Snazzy formatter (reporter) for [`standard`](https://github.com/feross/standard)
|
11 |
|
12 | Converts "compact" text from a linter to "stylish" (i.e. snazzy) output.
|
13 |
|
14 | ![after](img/after.png)
|
15 |
|
16 | Compared to before:
|
17 |
|
18 | ![before](img/before.png)
|
19 |
|
20 | ## install
|
21 |
|
22 | ```
|
23 | npm install -g snazzy
|
24 | ```
|
25 |
|
26 | ## usage
|
27 |
|
28 | Pipe "compact" text into the `snazzy` command to get back pretty results:
|
29 |
|
30 | ```bash
|
31 | $ standard --verbose | snazzy
|
32 | ```
|
33 |
|
34 | Or, just run `snazzy` directly and it will run `standard` and give you pretty results:
|
35 |
|
36 | ```bash
|
37 | $ snazzy
|
38 | ```
|
39 |
|
40 | `snazzy` supports all command line flags that `standard` supports:
|
41 |
|
42 | ```bash
|
43 | $ snazzy --format --verbose test1.js test2.js
|
44 | ```
|
45 |
|
46 | ## license
|
47 |
|
48 | MIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).
|