Sha256: 0d21a7ee0cf5c32dfa6fb6bbabc43f161418130152e40f7612a5e853dd90ab60
Contents?: true
Size: 1.83 KB
Versions: 62
Compression:
Stored size: 1.83 KB
Contents
{ "name": "cli-cursor", "version": "1.0.2", "description": "Toggle the CLI cursor", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/cli-cursor.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=0.10.0" }, "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": "^1.0.1" }, "devDependencies": { "ava": "*", "xo": "*" }, "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()\n\n### .hide()\n\n### .toggle(force)\n\n`force` is useful to show or hide the cursor based an a boolean.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/cli-cursor/issues" }, "homepage": "https://github.com/sindresorhus/cli-cursor#readme", "_id": "cli-cursor@1.0.2", "_shasum": "64da3f7d56a54412e59794bd62dc35295e8f2987", "_resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", "_from": "cli-cursor@>=1.0.1 <2.0.0" }
Version data entries
62 entries across 62 versions & 1 rubygems