108 lines
7.7 KiB
JSON
108 lines
7.7 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "npmlog@^2.0.4",
|
||
|
"scope": null,
|
||
|
"escapedName": "npmlog",
|
||
|
"name": "npmlog",
|
||
|
"rawSpec": "^2.0.4",
|
||
|
"spec": ">=2.0.4 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native"
|
||
|
]
|
||
|
],
|
||
|
"_from": "npmlog@>=2.0.4 <3.0.0",
|
||
|
"_id": "npmlog@2.0.4",
|
||
|
"_inCache": true,
|
||
|
"_location": "/npmlog",
|
||
|
"_nodeVersion": "5.10.1",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-12-west.internal.npmjs.com",
|
||
|
"tmp": "tmp/npmlog-2.0.4.tgz_1463616637725_0.461703865788877"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "zkat",
|
||
|
"email": "kat@sykosomatic.org"
|
||
|
},
|
||
|
"_npmVersion": "3.9.1",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "npmlog@^2.0.4",
|
||
|
"scope": null,
|
||
|
"escapedName": "npmlog",
|
||
|
"name": "npmlog",
|
||
|
"rawSpec": "^2.0.4",
|
||
|
"spec": ">=2.0.4 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/react-native"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-2.0.4.tgz",
|
||
|
"_shasum": "98b52530f2514ca90d09ec5b22c8846722375692",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "npmlog@^2.0.4",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native",
|
||
|
"author": {
|
||
|
"name": "Isaac Z. Schlueter",
|
||
|
"email": "i@izs.me",
|
||
|
"url": "http://blog.izs.me/"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/npm/npmlog/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"ansi": "~0.3.1",
|
||
|
"are-we-there-yet": "~1.1.2",
|
||
|
"gauge": "~1.2.5"
|
||
|
},
|
||
|
"description": "logger for npm",
|
||
|
"devDependencies": {
|
||
|
"tap": "~5.7.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "98b52530f2514ca90d09ec5b22c8846722375692",
|
||
|
"tarball": "https://registry.npmjs.org/npmlog/-/npmlog-2.0.4.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"log.js"
|
||
|
],
|
||
|
"gitHead": "3732fd4ba1ca2d47c6102343e6c3fb7e66df7fe5",
|
||
|
"homepage": "https://github.com/npm/npmlog#readme",
|
||
|
"license": "ISC",
|
||
|
"main": "log.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "iarna",
|
||
|
"email": "me@re-becca.org"
|
||
|
},
|
||
|
{
|
||
|
"name": "isaacs",
|
||
|
"email": "i@izs.me"
|
||
|
},
|
||
|
{
|
||
|
"name": "othiym23",
|
||
|
"email": "ogd@aoaioxxysz.net"
|
||
|
},
|
||
|
{
|
||
|
"name": "zkat",
|
||
|
"email": "kat@sykosomatic.org"
|
||
|
}
|
||
|
],
|
||
|
"name": "npmlog",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# npmlog\n\nThe logger util that npm uses.\n\nThis logger is very basic. It does the logging for npm. It supports\ncustom levels and colored output.\n\nBy default, logs are written to stderr. If you want to send log messages\nto outputs other than streams, then you can change the `log.stream`\nmember, or you can just listen to the events that it emits, and do\nwhatever you want with them.\n\n# Basic Usage\n\n```\nvar log = require('npmlog')\n\n// additional stuff ---------------------------+\n// message ----------+ |\n// prefix ----+ | |\n// level -+ | | |\n// v v v v\n log.info('fyi', 'I have a kitty cat: %j', myKittyCat)\n```\n\n## log.level\n\n* {String}\n\nThe level to display logs at. Any logs at or above this level will be\ndisplayed. The special level `silent` will prevent anything from being\ndisplayed ever.\n\n## log.record\n\n* {Array}\n\nAn array of all the log messages that have been entered.\n\n## log.maxRecordSize\n\n* {Number}\n\nThe maximum number of records to keep. If log.record gets bigger than\n10% over this value, then it is sliced down to 90% of this value.\n\nThe reason for the 10% window is so that it doesn't have to resize a\nlarge array on every log entry.\n\n## log.prefixStyle\n\n* {Object}\n\nA style object that specifies how prefixes are styled. (See below)\n\n## log.headingStyle\n\n* {Object}\n\nA style object that specifies how the heading is styled. (See below)\n\n## log.heading\n\n* {String} Default: \"\"\n\nIf set, a heading that is printed at the start of every line.\n\n## log.stream\n\n* {Stream} Default: `process.stderr`\n\nThe stream where output is written.\n\n## log.enableColor()\n\nForce colors to be used on all messages, regardless of the output\nstream.\n\n## log.disableColor()\n\nDisable colors on all messages.\n\n## log.enableProgress()\n\nEnable the display of log activity spinner and progress bar\n\n## log.disableProgress()\n\nDisable the display of a progress bar\n\n## log.enableUnicode()\n\nForce the unicode theme to be used for the progress bar.\n\n## log.disableUnicode()\n\nDisable the use of unicode in the progress bar.\n\n## log.setGaugeTemplate(template)\n\nOverrides the default gauge template.\n\n## log.pause()\n\nStop emitting messages to the stream, but do not drop them.\n\n## log.resume()\n\nEmit all buffered messages that were written while paused.\n\n## log.log(level, prefix, message, ...)\n\n* `level` {String} The level to emit the message at\n* `prefix` {String} A string prefix. Set to \"\" to skip.\n* `message...` Arguments to `util.format`\n\nEmit a log message at the specified level.\n\n## log\\[level](prefix, message, ...)\n\nFor example,\n\n* log.silly(prefix, message, ...)\n* log.verbose(prefix, message, ...)\n* log.info(prefix, message, ...)\n* log.http(prefix, message, ...)\n* log.warn(prefix, message, ...)\n* log.error(prefix, message, ...)\n\nLike `log.log(level, prefix, message, ...)`. In this way, each level is\ngiven a shorthand, so you can do `log.info(prefix, message)`.\n\n## log.addLevel(level, n, style, disp)\n\n* `level` {String} Level indicator\n* `n` {Number} The numeric level\n* `style` {Object} Object with fg, bg, inverse, etc.\n* `disp` {String} Optional replacement for `level` in the output.\n\nSets up a new level with a shorthand function and so forth.\n\nNote that if the number is `Infinity`, then setting the level to that\nwill cause all log messages to be suppressed. If the number is\n`-Infinity`, then the only way to show it is to enable all log messages.\n\n## log.newItem(name, todo, weight)\n\n* `name` {String} Optional; progress item name.\n* `todo` {Number} Optional; total amount of work to be done. Default 0.\n* `weight` {Number} Optional; the weight of this item relative to others. Default 1.\n\nThis adds a new `are-we-there-yet` item tracker to the progress tracker. The\nobject returned has the `log[level]` methods but is otherwise an\n`are-we-there-yet` `Tracker` object.\n\n##
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/npm/npmlog.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "tap test/*.js"
|
||
|
},
|
||
|
"version": "2.0.4"
|
||
|
}
|