Socket
Socket
Sign inDemoInstall

json-nice

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    json-nice

JSON Formatter


Version published
Weekly downloads
181
increased by0.56%
Maintainers
1
Install size
3.67 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 09 Feb 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc