{"_id":"eyes","_rev":"74150","name":"eyes","description":"a customizable value inspector","dist-tags":{"latest":"0.1.8"},"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"time":{"modified":"2021-06-03T10:24:10.000Z","created":"2011-12-09T00:10:20.093Z","0.1.8":"2012-08-24T18:26:03.778Z","0.1.7":"2011-12-09T00:10:32.764Z","0.1.1":"2011-12-09T00:10:20.093Z","0.1.2":"2011-12-09T00:10:20.093Z","0.1.3":"2011-12-09T00:10:20.093Z","0.1.4":"2011-12-09T00:10:20.093Z","0.1.5":"2011-12-09T00:10:20.093Z","0.1.6":"2011-12-09T00:10:20.093Z"},"users":{"chilts":true,"dodo":true,"tellnes":true,"fgribreau":true,"pid":true,"strathausen":true,"eins78":true,"lexa":true,"themiddleman":true,"yianisn":true,"mccoyjordan":true,"tunnckocore":true,"anaphase":true,"amirmehmood":true,"kontrax":true,"roman-io":true,"antixrist":true,"emyann":true,"amaynut":true,"mrsarm":true,"dm7":true,"lwdgit":true},"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"versions":{"0.1.8":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[{"name":"Charlie Robbins","email":"charlie@nodejitsu.com"}],"licenses":["MIT"],"main":"./lib/eyes","version":"0.1.8","scripts":{"test":"node test/*-test.js"},"directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.8","dist":{"shasum":"62cf120234c683785d902348a800ef3e0cc20bc0","size":5213,"noattachment":false,"key":"/eyes/-/eyes-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.8.tgz"},"_npmVersion":"1.1.53","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"publish_time":1345832763778,"_hasShrinkwrap":false,"_cnpm_publish_time":1345832763778},"0.1.7":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[{"name":"Charlie Robbins","email":"charlie@nodejitsu.com"}],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.7","scripts":{"test":"node test/*-test.js"},"directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"_id":"eyes@0.1.7","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"e9605b91d254e7375a68ee93e2a5937956b058fb","size":10240,"noattachment":false,"key":"/eyes/-/eyes-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.7.tgz"},"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"publish_time":1323389432764,"_hasShrinkwrap":false,"_cnpm_publish_time":1323389432764},"0.1.1":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.1","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"de4510396717cb573c74eb9bf8ddee49802555f8","size":5482,"noattachment":false,"key":"/eyes/-/eyes-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.1.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093},"0.1.2":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.2","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.2","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"fb44ee367b3923f459194eaa720670f929c5d4be","size":5554,"noattachment":false,"key":"/eyes/-/eyes-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.2.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093},"0.1.3":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.3","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.3","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"0636928c9b27091250fdbe57b5ffcdb7593dc831","size":5597,"noattachment":false,"key":"/eyes/-/eyes-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.3.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093},"0.1.4":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.4","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.4","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"2ca60e31d6a474f48e0e477b3b9cde4171ceb512","size":5789,"noattachment":false,"key":"/eyes/-/eyes-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.4.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093},"0.1.5":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.5","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.5","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"de73c55d577c215ebdbd9609c99f6f8123f47fb8","size":5827,"noattachment":false,"key":"/eyes/-/eyes-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.5.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093},"0.1.6":{"name":"eyes","description":"a customizable value inspector","url":"http://github.com/cloudhead/eyes.js","keywords":["inspector","debug","inspect","print"],"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"contributors":[],"licenses":["MIT"],"dependencies":{},"main":"./lib/eyes","version":"0.1.6","directories":{"lib":"./lib","test":"./test"},"engines":{"node":"> 0.1.90"},"_id":"eyes@0.1.6","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"c93c22e7e75d9cef96cfb0b0d80a41bbb92ae61c","size":5847,"noattachment":false,"key":"/eyes/-/eyes-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyes/download/eyes-0.1.6.tgz"},"publish_time":1323389420093,"maintainers":[{"name":"cloudhead","email":"self@cloudhead.net"},{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1323389420093}},"readme":"eyes\n====\n\na customizable value inspector for Node.js\n\nsynopsis\n--------\n\nI was tired of looking at cluttered output in the console -- something needed to be done,\n`sys.inspect()` didn't display regexps correctly, and was too verbose, and I had an hour or two to spare. \nSo I decided to have some fun. _eyes_ were born.\n\n![eyes-ss](http://dl.dropbox.com/u/251849/eyes-js-ss.gif)\n\n_example of the output of a user-customized eyes.js inspector_\n\n*eyes* also deals with circular objects in an intelligent way, and can pretty-print object literals.\n\nusage\n-----\n\n    var inspect = require('eyes').inspector({styles: {all: 'magenta'}});\n\n    inspect(something); // inspect with the settings passed to `inspector`\n\nor\n\n    var eyes = require('eyes');\n\n    eyes.inspect(something); // inspect with the default settings\n\nyou can pass a _label_ to `inspect()`, to keep track of your inspections:\n\n    eyes.inspect(something, \"a random value\");\n\nIf you want to return the output of eyes without printing it, you can set it up this way:\n\n    var inspect = require('eyes').inspector({ stream: null });\n\n    sys.puts(inspect({ something: 42 }));\n\ncustomization\n-------------\n\nThese are the default styles and settings used by _eyes_.\n\n    styles: {                 // Styles applied to stdout\n        all:     'cyan',      // Overall style applied to everything\n        label:   'underline', // Inspection labels, like 'array' in `array: [1, 2, 3]`\n        other:   'inverted',  // Objects which don't have a literal representation, such as functions\n        key:     'bold',      // The keys in object literals, like 'a' in `{a: 1}`\n        special: 'grey',      // null, undefined...\n        string:  'green',\n        number:  'magenta',\n        bool:    'blue',      // true false\n        regexp:  'green',     // /\\d+/\n    },\n    \n    pretty: true,             // Indent object literals\n    hideFunctions: false,     // Don't output functions at all\n    stream: process.stdout,   // Stream to write to, or null\n    maxLength: 2048           // Truncate output if longer\n\nYou can overwrite them with your own, by passing a similar object to `inspector()` or `inspect()`.\n\n    var inspect = require('eyes').inspector({\n        styles: {\n            all: 'magenta',\n            special: 'bold'\n        },\n        maxLength: 512\n    });\n\n","_attachments":{}}