{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["cli","cursor","ansi","toggle","display","show","hide","term","terminal","console","tty","shell","command-line"],"dist-tags":{"latest":"2.1.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Toggle the CLI cursor","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`<br>\nDefault: `process.stderr`\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/cli-cursor.git"},"users":{"ahmed-dinar":true,"insomniaqc":true,"cocorax":true},"bugs":{"url":"https://github.com/sindresorhus/cli-cursor/issues"},"license":"MIT","versions":{"1.0.0":{"name":"cli-cursor","version":"1.0.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":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["cli","cursor","ansi","toggle","display","show","hide","term","terminal","console","tty","shell","command-line"],"dependencies":{"restore-cursor":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"bugs":{"url":"https://github.com/sindresorhus/cli-cursor/issues"},"homepage":"https://github.com/sindresorhus/cli-cursor","_id":"cli-cursor@1.0.0","_shasum":"3d9f4365bbc3144b249dd7103b65f3ab0135b528","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"3d9f4365bbc3144b249dd7103b65f3ab0135b528","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cli-cursor/-/cli-cursor-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"cli-cursor","version":"1.0.1","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":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["cli","cursor","ansi","toggle","display","show","hide","term","terminal","console","tty","shell","command-line"],"dependencies":{"restore-cursor":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"bugs":{"url":"https://github.com/sindresorhus/cli-cursor/issues"},"homepage":"https://github.com/sindresorhus/cli-cursor","_id":"cli-cursor@1.0.1","_shasum":"282b7a20ff03061b7c720e08e4659f47eab34efe","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"282b7a20ff03061b7c720e08e4659f47eab34efe","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cli-cursor/-/cli-cursor-1.0.1.tgz"},"directories":{}},"1.0.2":{"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":"*"},"gitHead":"6be5a384d90278c66aa30db5ecdec8dc68f17d4f","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","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"64da3f7d56a54412e59794bd62dc35295e8f2987","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cli-cursor/-/cli-cursor-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"cli-cursor","version":"2.0.0","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":">=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},"gitHead":"eb49635ade57270d824961a6bffe42610fc3bee7","bugs":{"url":"https://github.com/sindresorhus/cli-cursor/issues"},"homepage":"https://github.com/sindresorhus/cli-cursor#readme","_id":"cli-cursor@2.0.0","_shasum":"f4c77840ecb2bed38c2672df39e264d54a0c1148","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f4c77840ecb2bed38c2672df39e264d54a0c1148","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cli-cursor/-/cli-cursor-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cli-cursor-2.0.0.tgz_1483989942414_0.22937274118885398"},"directories":{}},"2.1.0":{"name":"cli-cursor","version":"2.1.0","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":">=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},"gitHead":"5a403335e6b3980a1235b71f8afe1d63ee8c3ce1","bugs":{"url":"https://github.com/sindresorhus/cli-cursor/issues"},"homepage":"https://github.com/sindresorhus/cli-cursor#readme","_id":"cli-cursor@2.1.0","_shasum":"b35dac376479facc3e94747d41d0d0f5238ffcb5","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b35dac376479facc3e94747d41d0d0f5238ffcb5","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/cli-cursor/-/cli-cursor-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cli-cursor-2.1.0.tgz_1483990808692_0.16963833128102124"},"directories":{}}},"name":"cli-cursor","time":{"modified":"2017-08-10T11:04:55.060Z","created":"2014-08-31T11:48:41.699Z","1.0.0":"2014-08-31T11:48:41.699Z","1.0.1":"2014-08-31T23:31:41.380Z","1.0.2":"2015-09-18T13:47:26.541Z","2.0.0":"2017-01-09T19:25:42.647Z","2.1.0":"2017-01-09T19:40:10.885Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/cli-cursor#readme"}