102 lines
4.6 KiB
JSON
102 lines
4.6 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "eyespect",
|
|
"scope": null,
|
|
"escapedName": "eyespect",
|
|
"name": "eyespect",
|
|
"rawSpec": "",
|
|
"spec": "latest",
|
|
"type": "tag"
|
|
},
|
|
"/Users/gerrit/Documents/dev/nodejs/rentfor.camp/html/RentForCamp"
|
|
]
|
|
],
|
|
"_from": "eyespect@latest",
|
|
"_id": "eyespect@0.1.10",
|
|
"_inCache": true,
|
|
"_location": "/eyespect",
|
|
"_npmUser": {
|
|
"name": "clewfirst",
|
|
"email": "noah@nisaacson.com"
|
|
},
|
|
"_npmVersion": "1.2.25",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "eyespect",
|
|
"scope": null,
|
|
"escapedName": "eyespect",
|
|
"name": "eyespect",
|
|
"rawSpec": "",
|
|
"spec": "latest",
|
|
"type": "tag"
|
|
},
|
|
"_requiredBy": [
|
|
"#USER",
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/eyespect/-/eyespect-0.1.10.tgz",
|
|
"_shasum": "99ae846a302fccaf790e3ecb44f47b5f3b176aa0",
|
|
"_shrinkwrap": null,
|
|
"_spec": "eyespect",
|
|
"_where": "/Users/gerrit/Documents/dev/nodejs/rentfor.camp/html/RentForCamp",
|
|
"author": {
|
|
"name": "Alexis Sellier",
|
|
"email": "self@cloudhead.net"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nisaacson/eyespect/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Charlie Robbins",
|
|
"email": "charlie@nodejitsu.com"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"description": "a customizable value inspector, the same as eyes.js but with different default colors",
|
|
"devDependencies": {},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"dist": {
|
|
"shasum": "99ae846a302fccaf790e3ecb44f47b5f3b176aa0",
|
|
"tarball": "https://registry.npmjs.org/eyespect/-/eyespect-0.1.10.tgz"
|
|
},
|
|
"engines": {
|
|
"node": "> 0.1.90"
|
|
},
|
|
"gitHead": "f3b9c864e9bb6726e53244a881a4421c1d6306f0",
|
|
"homepage": "https://github.com/nisaacson/eyespect#readme",
|
|
"keywords": [
|
|
"inspector",
|
|
"debug",
|
|
"inspect",
|
|
"print"
|
|
],
|
|
"license": "BSD",
|
|
"licenses": [
|
|
"MIT"
|
|
],
|
|
"main": "./lib/eyes",
|
|
"maintainers": [
|
|
{
|
|
"name": "clewfirst",
|
|
"email": "noah@nisaacson.com"
|
|
}
|
|
],
|
|
"name": "eyespect",
|
|
"optionalDependencies": {},
|
|
"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\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",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/nisaacson/eyespect.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test/*-test.js"
|
|
},
|
|
"version": "0.1.10"
|
|
}
|