137 lines
26 KiB
JSON
137 lines
26 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
"debug@^3.0.0",
|
||
|
"/mnt/c/Users/Josua/Desktop/data/nodejs/electron/chat-project/chat-client/node_modules/electron-download"
|
||
|
]
|
||
|
],
|
||
|
"_from": "debug@>=3.0.0 <4.0.0",
|
||
|
"_hasShrinkwrap": false,
|
||
|
"_id": "debug@3.2.6",
|
||
|
"_inCache": true,
|
||
|
"_installable": true,
|
||
|
"_location": "/debug",
|
||
|
"_nodeVersion": "10.10.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/debug_3.2.6_1539154080132_0.756699343768702"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"email": "i.am.qix@gmail.com",
|
||
|
"name": "qix"
|
||
|
},
|
||
|
"_npmVersion": "6.1.0",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"name": "debug",
|
||
|
"raw": "debug@^3.0.0",
|
||
|
"rawSpec": "^3.0.0",
|
||
|
"scope": null,
|
||
|
"spec": ">=3.0.0 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/electron-download"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
|
||
|
"_shasum": "e83d17de16d8a7efb7717edbe5fb10135eee629b",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "debug@^3.0.0",
|
||
|
"_where": "/mnt/c/Users/Josua/Desktop/data/nodejs/electron/chat-project/chat-client/node_modules/electron-download",
|
||
|
"author": {
|
||
|
"email": "tj@vision-media.ca",
|
||
|
"name": "TJ Holowaychuk"
|
||
|
},
|
||
|
"browser": "./src/browser.js",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/visionmedia/debug/issues"
|
||
|
},
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "Nathan Rajlich",
|
||
|
"email": "nathan@tootallnate.net",
|
||
|
"url": "http://n8.io"
|
||
|
},
|
||
|
{
|
||
|
"name": "Andrew Rhyne",
|
||
|
"email": "rhyneandrew@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"ms": "^2.1.1"
|
||
|
},
|
||
|
"description": "small debugging utility",
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.0.0",
|
||
|
"@babel/core": "^7.0.0",
|
||
|
"@babel/preset-env": "^7.0.0",
|
||
|
"browserify": "14.4.0",
|
||
|
"chai": "^3.5.0",
|
||
|
"concurrently": "^3.1.0",
|
||
|
"coveralls": "^3.0.2",
|
||
|
"istanbul": "^0.4.5",
|
||
|
"karma": "^3.0.0",
|
||
|
"karma-chai": "^0.1.0",
|
||
|
"karma-mocha": "^1.3.0",
|
||
|
"karma-phantomjs-launcher": "^1.0.2",
|
||
|
"mocha": "^5.2.0",
|
||
|
"mocha-lcov-reporter": "^1.2.0",
|
||
|
"rimraf": "^2.5.4",
|
||
|
"xo": "^0.23.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"fileCount": 10,
|
||
|
"integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
|
||
|
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvaCgCRA9TVsSAnZWagAAhucQAJjxFVneDDxkspue4yaR\nlpOoIrP8ms/Oek53bmD1y/qlwsfpS/Y/KnS1yL/qSQkEAL2qYAETIMie3Op5\niP03s2xTTrVwCUDCEtTO7oMnl6kApMiexgUkop4eznA+AfEdz/jInFiN/yDU\ntHoR1UV0bIOSccVhrjH2aTt/96AETu8B7x8J722gjPUGDni2luYM+r2V8XYh\nN/9/kNn6HN1FjfOUl662iZTLE8OAVbrnmfVS6etTiG2SSLI898s+goyOD32K\nduwANgqjKrlvSxlMxKFr46G8GR+Otk9rOwsFO7yiufJ62dYefJIw6sfWYGXa\n8joI2StGT6p9T6iTN9959Y6naoSrN0cb3DocOjGQMrxUoBugoBWKd4fD+ACU\nMN3VA2PN8cZIh5eLu5IsJAECy4frUKpzbPYR129/Rtx0K7syhcvSwBqRE4Pb\nPNDHdddx1bix8m+xyT6sAiaWym9x+WX7GPuQAlCM5xZ4lFzjNpu5LgxpIbHo\njtRF6SLdMDBSImhH6NyPcw374QT+zwOc8l2G506RfBA5bB2fsYUBLrIXLkxm\n/CzEphFk++bPvYDiCy2EFUJW5MjnschBV65QUZBdBSg2YJnl3yGS8QHC8AR0\nM1IcRqI8NUlpTByPVoc7GoevruOjXxk+B+dflYRvBNwBMDatSA0eYT9aILK0\nJp/G\r\n=QKY3\r\n-----END PGP SIGNATURE-----\r\n",
|
||
|
"shasum": "e83d17de16d8a7efb7717edbe5fb10135eee629b",
|
||
|
"tarball": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
|
||
|
"unpackedSize": 79525
|
||
|
},
|
||
|
"gitHead": "a7a17c9955460435592de2a4d3c722e9b32047a8",
|
||
|
"homepage": "https://github.com/visionmedia/debug#readme",
|
||
|
"keywords": [
|
||
|
"debug",
|
||
|
"debugger",
|
||
|
"log"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "./src/index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "kolban",
|
||
|
"email": "kolban1@kolban.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "qix",
|
||
|
"email": "i.am.qix@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "qix-",
|
||
|
"email": "i.am.qix@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "thebigredgeek",
|
||
|
"email": "rhyneandrew@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "tjholowaychuk",
|
||
|
"email": "tj@vision-media.ca"
|
||
|
},
|
||
|
{
|
||
|
"name": "tootallnate",
|
||
|
"email": "nathan@tootallnate.net"
|
||
|
}
|
||
|
],
|
||
|
"name": "debug",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# debug\n[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)\n[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)\n\n<img width=\"647\" src=\"https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png\">\n\nA tiny JavaScript debugging utility modelled after Node.js core's debugging\ntechnique. Works in Node.js and web browsers.\n\n## Installation\n\n```bash\n$ npm install debug\n```\n\n## Usage\n\n`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.\n\nExample [_app.js_](./examples/node/app.js):\n\n```js\nvar debug = require('debug')('http')\n , http = require('http')\n , name = 'My App';\n\n// fake app\n\ndebug('booting %o', name);\n\nhttp.createServer(function(req, res){\n debug(req.method + ' ' + req.url);\n res.end('hello\\n');\n}).listen(3000, function(){\n debug('listening');\n});\n\n// fake worker of some kind\n\nrequire('./worker');\n```\n\nExample [_worker.js_](./examples/node/worker.js):\n\n```js\nvar a = require('debug')('worker:a')\n , b = require('debug')('worker:b');\n\nfunction work() {\n a('doing lots of uninteresting work');\n setTimeout(work, Math.random() * 1000);\n}\n\nwork();\n\nfunction workb() {\n b('doing some work');\n setTimeout(workb, Math.random() * 2000);\n}\n\nworkb();\n```\n\nThe `DEBUG` environment variable is then used to enable these based on space or\ncomma-delimited names.\n\nHere are some examples:\n\n<img width=\"647\" alt=\"screen shot 2017-08-08 at 12 53 04 pm\" src=\"https://user-images.githubusercontent.com/71256/29091703-a6302cdc-7c38-11e7-8304-7c0b3bc600cd.png\">\n<img width=\"647\" alt=\"screen shot 2017-08-08 at 12 53 38 pm\" src=\"https://user-images.githubusercontent.com/71256/29091700-a62a6888-7c38-11e7-800b-db911291ca2b.png\">\n<img width=\"647\" alt=\"screen shot 2017-08-08 at 12 53 25 pm\" src=\"https://user-images.githubusercontent.com/71256/29091701-a62ea114-7c38-11e7-826a-2692bedca740.png\">\n\n#### Windows command prompt notes\n\n##### CMD\n\nOn Windows the environment variable is set using the `set` command.\n\n```cmd\nset DEBUG=*,-not_this\n```\n\nExample:\n\n```cmd\nset DEBUG=* & node app.js\n```\n\n##### PowerShell (VS Code default)\n\nPowerShell uses different syntax to set environment variables.\n\n```cmd\n$env:DEBUG = \"*,-not_this\"\n```\n\nExample:\n\n```cmd\n$env:DEBUG='app';node app.js\n```\n\nThen, run the program to be debugged as usual.\n\nnpm script example:\n```js\n \"windowsDebug\": \"@powershell -Command $env:DEBUG='*';node app.js\",\n```\n\n## Namespace Colors\n\nEvery debug instance has a color generated for it based on its namespace name.\nThis helps when visually parsing the debug output to identify which debug instance\na debug line belongs to.\n\n#### Node.js\n\nIn Node.js, colors are enabled when stderr is a TTY. You also _should_ install\nthe [`supports-color`](https://npmjs.org/supports-color) module alongside debug,\notherwise debug will only use a small handful of basic colors.\n\n<img width=\"521\" src=\"https://user-images.githubusercontent.com/71256/29092181-47f6a9e6-7c3a-11e7-9a14-1928d8a711cd.png\">\n\n#### Web Browser\n\nColors are also enabled on \"Web Inspectors\" that understand the `%c` formatting\noption. These are WebKit web inspectors, Firefox ([since version\n31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-too
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/visionmedia/debug.git"
|
||
|
},
|
||
|
"unpkg": "./dist/debug.js",
|
||
|
"version": "3.2.6"
|
||
|
}
|