{"_id":"tiny-cursor","_rev":"1198875","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-23T21:04:57.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":{"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,"publish_time":1737336489208,"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_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":{"integrity":"sha512-6RKgFWBt6I1oYpaNZJvvp5x/jvzYDp+rjAVDam+7cmE0mrtlu8Lmpv81hQuvFuPa8Fuc/sd2shRWbdWTZqSNLg==","shasum":"fe4ae516fda55c20655dc9d56887b80979c2229d","tarball":"http://registry-npm.ywwl.com/tiny-cursor/download/tiny-cursor-2.0.0.tgz","fileCount":12,"unpackedSize":5613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpLVNDH2VQ0V0V3VC1uDo0EDc9RbpuYwAMh/1eLS9wfAIgDFOlnQslfZJbOzMHC2qWpZjOTJmRt5WGD+JKt1sxPSE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTNwvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrM3A//UiddC9uHjFGpmRnoP/7O3zdiWk8Jn7e4MOS+3jaf4cx74Ymf\r\nXoizbFwCasmz5Dw6XADFHAHOZE78uCro8SDptr6NAMY/KwiFK9fexzAubBtn\r\n7jOKylF1zkvKI7QE6hGkdBQGl9I3A2HzwibPkKfzDT5n4Kt4ZxsEPvyv4lR/\r\nN6i1QRSi65rja6394g4a9YPO4nZWmiE2CLrXHCep2WqOYE1V9+jCAeNvIJBP\r\nQ60J1GD4TRLsiOi0ujQhq6bUQdd+bEpMPl49FHWk1oPi3xongHt2fgD4y5zI\r\n0nFX1Im/zRlJenNrqJPDbm+/Mispm0+isBi7F9JG8nvfv/1WtbtT931ktLhG\r\nUp4Md7nwuKPDoTwyhVZuldrBzmx3ON7auQ3rXHb/v238noOIUOWhG/ydeZTA\r\nuHFRgqyb2r2MKyGirzOJSd2kg6yeZvoN1AEo3kCMwUVcIbl0eTnULZpMjdNn\r\nsRPD1WMYYm9FoYn+yC4EnGUUr1WBnX7EUuYnVSkICxDRmnIZAoideGK3CNu5\r\nhWSv83yv9uWYY3b4cSCleG/uRVCqvr5Q4Jmdw7iXDI/jMmknpTDcSozQ+Zvc\r\nFVDI8PO/F5sOtTfji5nKjiWWRqhyohfAluayJyV2M/psbf2zS4cThKT7gsf5\r\nOGKwELwCOxZ59OmXmUfrkRmREZKOlUx3ojk=\r\n=2RYX\r\n-----END PGP SIGNATURE-----\r\n","size":2427,"noattachment":false,"key":"/tiny-cursor/-/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,"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":{"integrity":"sha512-P8m3/MahtRZsCmrFJpoLFBaECDdsMfiPw8wtDYE47gM9I29BUKm9r+2LkDu/6DnLsAlPooZqmYYMsKjHLgdKPA==","shasum":"858966b8e9b53740710718e880934fc49f76b94c","tarball":"http://registry-npm.ywwl.com/tiny-cursor/download/tiny-cursor-1.0.0.tgz","fileCount":12,"unpackedSize":7259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAuCtCRA9TVsSAnZWagAAg0YQAJwYVuWfh14iIF479jZN\nvH6TPHhsM6xD/CQjES2WMeTax9ZDG5mgzG2HlsXe5sLyx+0MkTLY3AURMknK\nVWyk5LBeBXTaYfRkQQBa9wMp319RU0KxRiy5C8uPl0NXeckyWQ/UxEQB7in8\nXnf/6RdaW89FSakahMP4ag9IiW/xOh0+ZHybDx5psRuQUDaJxvARAz5xpwDh\n/ryNnOlQ2WXe5bBYGdG/bAdqzFpmS0HR54czPy8uOEJtp7gy2nvtjYoJmv/x\n7hzLfysQZwHSfvmS3p81S6OeUz1ZaixlGxqg4Sm1ctrWLzVGo5m7R69ILN/O\np6Y97u8swINjW6D+tDPCuSjtfr+8Pd5VcE4HJP/T62JlW0NZ/MHTFlgCx/A0\nRvr1odpY8kIi87hmoQnBZ+URVkXWS8AaU7c7vCvYrmLs+PLqBrJoYX91gZ4m\nCaBZD4BBy3ABR+sIoGO6qNpzMP2dhoju5WhMdVWtyBG0oQYrJbUU7Ju84ysq\n7v6/1hNqw1w2M2nNofy/Y6UwW8LAZoKBNe34cJKaFBuwHg/VW3fr7UsYq1/E\ndnW0BNNynd774fUwVJwMhY4aamlAUzHeIvfu6uKMYlvRvx6wxc+1VOWsaaj9\nyX1M5pMLbTyn9vzPhTdXuKvW5A8MWXsO/AeHKYV8rKoOBhqDrIXob0fEx+Zv\nNm35\r\n=QOXA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTi81fT/JZgSabABfDuVZEcb3g+viPS99WGp+EeBIAdAiBSdZevCau1a/kLzBz5IcNE/D+gKYP6nwdpNTzaolfTxg=="}],"size":3066,"noattachment":false,"key":"/tiny-cursor/-/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,"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"}