🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

color-json

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-json

Color JSON in the console with no dependencies

3.0.5
latest
Source
npm
Version published
Weekly downloads
153K
-8.93%
Maintainers
1
Weekly downloads
 
Created

What is color-json?

The color-json npm package is designed to enhance the readability of JSON data by adding color to the output. This is particularly useful for developers who need to quickly parse and understand JSON structures in a visually appealing way.

What are color-json's main functionalities?

Colorize JSON

This feature allows you to colorize JSON data for better readability in the console. The code sample demonstrates how to use the color-json package to print a JSON object with colorized output.

const colorJson = require('color-json');

const jsonData = {
  name: "John Doe",
  age: 30,
  city: "New York"
};

console.log(colorJson(jsonData));

Other packages similar to color-json

Keywords

color

FAQs

Package last updated on 28 Feb 2023

Did you know?

Socket

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