🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

styled-json-console

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-json-console

Custom Node.js Console that styles your JSON output

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

styled-json-console

Create a custom Node.js Console that automatically adds colors to JSON strings.

Install

pnpm add styled-json-console

Usage

import { createConsole } from 'styled-json-console';

const myConsole = createConsole({
  // Options go here
});

myConsole.log(
  JSON.stringify({
    message: 'Hello, World!',
    now: Date.now(),
  }),
);

Example

Checkout this repo then run this:

pnpm install
pnpm build
node ./example/index.ts

Keywords

console

FAQs

Package last updated on 27 Dec 2025

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