Format JavaScript Standard Style as Stylish (i.e. snazzy) output
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin cleanup Apr 7, 2017
img initial commit Jul 22, 2015
.npmignore npmignore Aug 29, 2018
.travis.yml travis: node LTS Aug 29, 2018
LICENSE initial commit Jul 22, 2015
README.md https Aug 29, 2018
index.js standard Aug 29, 2018
package.json 8.0.0 Aug 29, 2018

README.md

snazzy travis npm downloads javascript style guide

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

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

after

Compared to before:

before

install

npm install -g snazzy

usage

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

$ 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.