{ "_args": [ [ { "raw": "cli-cursor@^2.1.0", "scope": null, "escapedName": "cli-cursor", "name": "cli-cursor", "rawSpec": "^2.1.0", "spec": ">=2.1.0 <3.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/inquirer" ] ], "_from": "cli-cursor@>=2.1.0 <3.0.0", "_id": "cli-cursor@2.1.0", "_inCache": true, "_location": "/cli-cursor", "_nodeVersion": "4.6.2", "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/cli-cursor-2.1.0.tgz_1483990808692_0.16963833128102124" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "2.15.11", "_phantomChildren": {}, "_requested": { "raw": "cli-cursor@^2.1.0", "scope": null, "escapedName": "cli-cursor", "name": "cli-cursor", "rawSpec": "^2.1.0", "spec": ">=2.1.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "_shasum": "b35dac376479facc3e94747d41d0d0f5238ffcb5", "_shrinkwrap": null, "_spec": "cli-cursor@^2.1.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/inquirer", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/cli-cursor/issues" }, "dependencies": { "restore-cursor": "^2.0.0" }, "description": "Toggle the CLI cursor", "devDependencies": { "ava": "*", "xo": "*" }, "directories": {}, "dist": { "shasum": "b35dac376479facc3e94747d41d0d0f5238ffcb5", "tarball": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" }, "engines": { "node": ">=4" }, "files": [ "index.js" ], "gitHead": "5a403335e6b3980a1235b71f8afe1d63ee8c3ce1", "homepage": "https://github.com/sindresorhus/cli-cursor#readme", "keywords": [ "cli", "cursor", "ansi", "toggle", "display", "show", "hide", "term", "terminal", "console", "tty", "shell", "command-line" ], "license": "MIT", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "name": "cli-cursor", "optionalDependencies": {}, "readme": "# cli-cursor [![Build Status](https://travis-ci.org/sindresorhus/cli-cursor.svg?branch=master)](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`
\nDefault: `process.stderr`\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-cursor.git" }, "scripts": { "test": "xo && ava" }, "version": "2.1.0", "xo": { "esnext": true } }