{"_id":"eyespect","_rev":"197714","name":"eyespect","description":"a customizable value inspector, the same as eyes.js but with different default colors","dist-tags":{"latest":"0.1.10"},"maintainers":[{"name":"clewfirst","email":"clewfirst+npmjs@gmail.com"}],"time":{"modified":"2021-06-03T12:30:05.000Z","created":"2013-01-20T09:30:47.520Z","0.1.10":"2013-06-15T18:43:21.577Z","0.1.8":"2013-01-20T09:30:47.520Z"},"users":{},"author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"repository":{"type":"git","url":"git://github.com/nisaacson/eyespect.git"},"versions":{"0.1.10":{"name":"eyespect","description":"a customizable value inspector, the same as eyes.js but with different default colors","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.10","scripts":{"test":"node test/*-test.js"},"directories":{"test":"test"},"engines":{"node":"> 0.1.90"},"readmeFilename":"README.md","_from":".","gitHead":"f3b9c864e9bb6726e53244a881a4421c1d6306f0","repository":{"type":"git","url":"git://github.com/nisaacson/eyespect.git"},"license":"BSD","bugs":{"url":"https://github.com/nisaacson/eyespect/issues"},"_id":"eyespect@0.1.10","dist":{"shasum":"99ae846a302fccaf790e3ecb44f47b5f3b176aa0","size":5319,"noattachment":false,"key":"/eyespect/-/eyespect-0.1.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyespect/download/eyespect-0.1.10.tgz"},"_npmVersion":"1.2.25","_npmUser":{"name":"clewfirst","email":"noah@nisaacson.com"},"maintainers":[{"name":"clewfirst","email":"clewfirst+npmjs@gmail.com"}],"publish_time":1371321801577,"_hasShrinkwrap":false,"_cnpm_publish_time":1371321801577},"0.1.8":{"name":"eyespect","description":"a customizable value inspector, the same as eyes.js but with different default colors","url":"http://github.com/nisaacson/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"},"readmeFilename":"README.md","_id":"eyespect@0.1.8","dist":{"shasum":"b39ede836feac4743b253e2faacc6cc12b4c9cee","size":5229,"noattachment":false,"key":"/eyespect/-/eyespect-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/eyespect/download/eyespect-0.1.8.tgz"},"_npmVersion":"1.1.68","_npmUser":{"name":"clewfirst","email":"noah@nisaacson.com"},"maintainers":[{"name":"clewfirst","email":"clewfirst+npmjs@gmail.com"}],"publish_time":1358674247520,"_hasShrinkwrap":false,"_cnpm_publish_time":1358674247520}},"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":{},"readmeFilename":"README.md","bugs":{"url":"https://github.com/nisaacson/eyespect/issues"},"license":"BSD"}