{"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":{"integrity":"sha512-28ytGEfb7m/8Gdflv+wSo5qRM01fROo2CjJVYon6yYbzPsc3ap3Ps5CZXuS19pIROwswSvZMGbEQ7kWnokdUGA==","shasum":"0b5a910466258ecb0e2f271ef13e6db79a48f3de","tarball":"http://registry-npm.ywwl.com/tiny-cursor/download/tiny-cursor-2.0.1.tgz","fileCount":7,"unpackedSize":3651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDny2Obsf57dd8rYr0oknPUz9JylesW26KtO3ETl9YB+wIgNSrpEtk8HpIAYlSlJHWdBIr/4vsEETGcH5Hqa/HF0tc="}],"size":1835,"noattachment":false,"key":"/tiny-cursor/-/tiny-cursor-2.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tiny-cursor_2.0.1_1737336489002_0.024227359856849873"},"_hasShrinkwrap":false,"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","publish_time":1737336489208,"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_cnpm_publish_time":1737336489208,"dist-tags":{"latest":"2.0.1"}}