{"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,"readme":"# Tiny Cursor\n\nA tiny library for hiding and showing the cursor in the terminal.\n\n## Install\n\n```sh\nnpm install --save 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":1649204271688,"_cnpm_publish_time":1649204271688,"dist-tags":{"latest":"2.0.1"}}