Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json-colorz

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-colorz

An awesome module being created

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
868
decreased by-10.88%
Maintainers
1
Weekly downloads
 
Created
Source

json-colorz

NPM version js-standard-style experimental Downloads

This package allows you to display your json object on the console in a pretty format with colors. [WIP]

Installation

$ npm install json-colorz

Usage

var jlog = require('json-colorz');
jlog([{"id":1,"email":"UDawn@porta.gov","active":true},{"id":2,"email":"LZeigler@pharetra.com","active":false},{"id":3,"email":"VSobel@neque.ly","active":false}]);

API

Why?

Jsome implements colors by the method of extending String.prototype. So, instead of using colors, I wanted to use colorz -- a basic ansi string substitution method for colorizing output. All credit for this code goes to Jsome author, Khalid REHIOUI.

See Also

  • jsome: the awesome package json-colorz shamelessly duplicated

License

ISC

Keywords

FAQs

Package last updated on 08 Jun 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc