mirror of
https://github.com/zhigang1992/npm.git
synced 2026-06-12 00:24:51 +08:00
41 lines
2.0 KiB
JSON
41 lines
2.0 KiB
JSON
{
|
|
"name": "char-spinner",
|
|
"version": "1.0.0",
|
|
"description": "Put a little spinner on process.stderr, as unobtrusively as possible.",
|
|
"main": "spin.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"tap": "^0.4.10"
|
|
},
|
|
"scripts": {
|
|
"test": "tap test/*.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/isaacs/char-spinner"
|
|
},
|
|
"keywords": [
|
|
"char",
|
|
"spinner"
|
|
],
|
|
"author": {
|
|
"name": "Isaac Z. Schlueter",
|
|
"email": "i@izs.me",
|
|
"url": "http://blog.izs.me/"
|
|
},
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/char-spinner/issues"
|
|
},
|
|
"homepage": "https://github.com/isaacs/char-spinner",
|
|
"readme": "# char-spinner\n\nPut a little spinner on process.stderr, as unobtrusively as possible.\n\n## USAGE\n\n```javascript\nvar spinner = require(\"spinner\")\n\n// All options are optional\n// even the options argument itself is optional\nspinner(options)\n```\n\n## OPTIONS\n\nUsually the defaults are what you want. Mostly they're just\nconfigurable for testing purposes.\n\n* `stream` Output stream. Default=`process.stderr`\n* `tty` Only show spinner if output stream has a truish `.isTTY`. Default=`true`\n* `string` String of chars to spin. Default=`'/-\\\\|'`\n* `interval` Number of ms between frames, bigger = slower. Default=`50`\n* `cleanup` Print `'\\r \\r'` to stream on process exit. Default=`true`\n* `unref` Unreference the spinner interval so that the process can\n exit normally. Default=`true`\n* `delay` Number of frames to \"skip over\" before printing the spinner.\n Useful if you want to avoid showing the spinner for very fast\n actions. Default=`2`\n\nReturns the generated interval, if one was created.\n",
|
|
"readmeFilename": "README.md",
|
|
"_id": "char-spinner@1.0.0",
|
|
"_shasum": "b5fadba903f242a31c1e93b2f532482d62bb56b2",
|
|
"_from": "char-spinner@latest",
|
|
"_resolved": "https://registry.npmjs.org/char-spinner/-/char-spinner-1.0.0.tgz"
|
|
}
|