JSPM

  • Created
  • Published
  • Downloads 5840
  • Score
    100M100P100Q145662F
  • License MIT

print objects real purdy

Package Exports

  • purdy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (purdy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Purdy

Print things real purdy for nodejs.

Usage

    var Purdy = require('purdy');
    Purdy({list: [1,2,3], string: 'some string'});

Purdy(object, [options])

Prints anything indented, and with arrays with index keys, and different types in colors such that it's very easy to get an overview of what object you're dealing with.

  • object - anything, number, object, array, etc.
  • options - optional object with the following keys.
    • plain - when true, prints result without colors. Defaults to false.

Acknowledgements