{"_id":"tiny-cursor","_rev":"3757991","name":"tiny-cursor","description":"A tiny library for hiding and showing the cursor in the terminal.","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"time":{"modified":"2025-03-18T07:12:48.000Z","created":"2022-02-08T21:29:17.381Z","2.0.1":"2025-01-20T01:28:09.208Z","2.0.0":"2022-04-06T00:17:51.688Z","1.0.0":"2022-02-08T21:29:17.381Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-cursor.git"},"versions":{"2.0.1":{"name":"tiny-cursor","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-cursor.git"},"description":"A tiny library for hiding and showing the cursor in the terminal.","license":"MIT","version":"2.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["cli","cursor","terminal","hide","show"],"dependencies":{"when-exit":"^2.1.4"},"devDependencies":{"@types/node":"^18.19.71","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"tiny-cursor@2.0.1","gitHead":"7b23420934730f645a6c673e5bfae26b9bd6b338","bugs":{"url":"https://github.com/fabiospampinato/tiny-cursor/issues"},"homepage":"https://github.com/fabiospampinato/tiny-cursor#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"0b5a910466258ecb0e2f271ef13e6db79a48f3de","size":1835,"noattachment":false,"key":"/tiny-cursor/-/tiny-cursor-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-cursor/download/tiny-cursor-2.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tiny-cursor_2.0.1_1737336489002_0.024227359856849873"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-20T01:28:09.208Z","publish_time":1737336489208,"_source_registry_name":"default","_cnpm_publish_time":1737336489208},"2.0.0":{"name":"tiny-cursor","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-cursor.git"},"description":"A tiny library for hiding and showing the cursor in the terminal.","version":"2.0.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["cli","cursor","terminal","hide","show"],"dependencies":{"when-exit":"^2.0.0"},"devDependencies":{"@types/node":"^17.0.23","fava":"^0.0.6","tsex":"^1.0.4","typescript":"^4.6.3"},"gitHead":"e27ccabda5a58099c61662a13395a511fed13e12","bugs":{"url":"https://github.com/fabiospampinato/tiny-cursor/issues"},"homepage":"https://github.com/fabiospampinato/tiny-cursor#readme","_id":"tiny-cursor@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"fe4ae516fda55c20655dc9d56887b80979c2229d","size":2427,"noattachment":false,"key":"/tiny-cursor/-/tiny-cursor-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-cursor/download/tiny-cursor-2.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-cursor_2.0.0_1649204271513_0.08161943747643186"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-06T01:37:05.952Z","publish_time":1649204271688,"_cnpm_publish_time":1649204271688},"1.0.0":{"name":"tiny-cursor","description":"A tiny library for hiding and showing the cursor in the terminal.","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","test":"fava","test:watch":"fava -w","prepublishOnly":"npm run clean && npm run compile && npm run test"},"bugs":{"url":"https://github.com/fabiospampinato/tiny-cursor/issues"},"license":"MIT","author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-cursor.git"},"keywords":["cli","cursor","terminal","hide","show"],"dependencies":{"when-exit":"^1.0.0"},"devDependencies":{"@types/node":"^17.0.16","fava":"^0.0.4","promise-resolve-timeout":"^1.2.1","rimraf":"^3.0.2","typescript":"^4.5.5","typescript-transform-export-interop":"^1.0.4"},"gitHead":"c75b77a44860e0089cb58a8e68c6915e3aeb3431","homepage":"https://github.com/fabiospampinato/tiny-cursor#readme","_id":"tiny-cursor@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"858966b8e9b53740710718e880934fc49f76b94c","size":3066,"noattachment":false,"key":"/tiny-cursor/-/tiny-cursor-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tiny-cursor/download/tiny-cursor-1.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-cursor_1.0.0_1644355757256_0.5746174039991734"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-08T21:29:23.271Z","publish_time":1644355757381,"_cnpm_publish_time":1644355757381}},"readme":"# Tiny Cursor\n\nA tiny library for hiding and showing the cursor in the terminal.\n\n## Install\n\n```sh\nnpm install tiny-cursor\n```\n\n## Usage\n\n```ts\nimport Cursor from 'tiny-cursor';\n\nCursor.has (); // => true, the cursor is visible\n\nCursor.hide ();\n\nCursor.has (); // => false, the cursor is not visible\n\nCursor.show ();\n\nCursor.has (); // => true, the cursor is visible\n\nCursor.toggle ();\n\nCursor.has (); // => false, the cursor is not visible\n```\n\n## License\n\nMIT © Fabio Spampinato\n","_attachments":{},"homepage":"https://github.com/fabiospampinato/tiny-cursor#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-cursor/issues"},"license":"MIT"}