json-nice

v1.1.0
JSON Formatter
JSON Format

JSON Formatter

Usage

$ npm install json-nice
var format = require('json-nice');

console.log(format(obj));

Options

Rendering can be customized by adding options:

var options = {
  indent: '\t' // indent using tab
};

format(obj, options);
npm i json-nice

Metadata

  • ISC
  • Whatever
  • Jerry Sievert
  • released 2/9/2016

Downloads

Maintainers