json-nice

1.1.0 • Public • Published

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);

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i json-nice

      Weekly Downloads

      964

      Version

      1.1.0

      License

      ISC

      Last publish

      Collaborators

      • jerrysievert