hj

handsome-json

make your json strings handsome

Showing:

Popularity

Downloads/wk

7

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.5KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Handsome JSON

Make your JSON strings handsome.

https://travis-ci.org/kivlor/handsome-json.svg?branch=master

Usage

Honestly, just use this one liner in your code:

console.log(JSON.stringify(JSON.parse('{"foo":"bar"}'), null, 2));

Otherwise, install via NPM:

npm install --save handsome-json

Then include in your project and format away:

var format = require('hansome-json');

var json = '{"foo":"bar"}';

console.log(format(json));

You can also install globally if you're into that:

npm install -g handsome-json

Then from the command line call handsome like so:

handsome path/to/your/unformatted.json

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100