File: //opt/code/node_modules/ora/node_modules/cli-cursor/package.json
{
"name": "cli-cursor",
"version": "2.1.0",
"description": "Toggle the CLI cursor",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/sindresorhus/cli-cursor"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js"
],
"keywords": [
"cli",
"cursor",
"ansi",
"toggle",
"display",
"show",
"hide",
"term",
"terminal",
"console",
"tty",
"shell",
"command-line"
],
"dependencies": {
"restore-cursor": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
},
"xo": {
"esnext": true
},
"readme": "# cli-cursor [](https://travis-ci.org/sindresorhus/cli-cursor)\n\n> Toggle the CLI cursor\n\nThe cursor is [gracefully restored](https://github.com/sindresorhus/restore-cursor) if the process exits.\n\n\n## Install\n\n```\n$ npm install --save cli-cursor\n```\n\n\n## Usage\n\n```js\nconst cliCursor = require('cli-cursor');\n\ncliCursor.hide();\n\nconst unicornsAreAwesome = true;\ncliCursor.toggle(unicornsAreAwesome);\n```\n\n\n## API\n\n### .show([stream])\n\n### .hide([stream])\n\n### .toggle(force, [stream])\n\n`force` is useful to show or hide the cursor based on a boolean.\n\n#### stream\n\nType: `Stream`<br>\nDefault: `process.stderr`\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/cli-cursor/issues"
},
"_id": "cli-cursor@2.1.0",
"_from": "cli-cursor@^2.1.0"
}