Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm's 300,000 packages pre-installed, including snazzy with all npm packages installed. Try it out:

var snazzy = require("snazzy")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

snazzy v6.0.0

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

snazzy travis npm downloads

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

Or, just run snazzy directly and it will run standard and give you pretty results:

$ snazzy

snazzy supports all command line flags that standard supports:

$ snazzy --format --verbose test1.js test2.js

license

MIT. Copyright (c) Feross Aboukhadijeh.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free