{"name":"restore-cursor","version":"5.1.0","description":"Gracefully restore the CLI cursor on exit","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/restore-cursor.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && tsd && node --test"},"keywords":["exit","quit","process","graceful","shutdown","sigterm","sigint","terminate","kill","stop","cli","cursor","ansi","show","term","terminal","console","tty","shell","command-line"],"dependencies":{"onetime":"^7.0.0","signal-exit":"^4.1.0"},"devDependencies":{"tsd":"^0.31.1","xo":"^0.59.2"},"_id":"restore-cursor@5.1.0","gitHead":"58261091deb9769fe6a4b02feb4e857de9cb924c","bugs":{"url":"https://github.com/sindresorhus/restore-cursor/issues"},"homepage":"https://github.com/sindresorhus/restore-cursor#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"integrity":"sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==","shasum":"0766d95699efacb14150993f55baf0953ea1ebe7","tarball":"http://registry-npm.ywwl.com/restore-cursor/download/restore-cursor-5.1.0.tgz","fileCount":5,"unpackedSize":3129,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjTVh15wjgTQfpKcIA2w0KduJPS1HiIssWLruxw9T2ywIhAJztFpHI4X0oRAFX1SGQg3pLdH1RskVNcoNfow/Zrmmg"}],"size":1684,"noattachment":false,"key":"/restore-cursor/-/restore-cursor-5.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restore-cursor_5.1.0_1722002202014_0.6651924632559372"},"_hasShrinkwrap":false,"readme":"# restore-cursor\n\n> Gracefully restore the CLI cursor on exit\n\nPrevent the cursor you have hidden interactively from remaining hidden if the process crashes.\n\nIt does nothing if run in a non-TTY context.\n\n## Install\n\n```sh\nnpm install restore-cursor\n```\n\n## Usage\n\n```js\nimport restoreCursor from 'restore-cursor';\n\nrestoreCursor();\n```\n","publish_time":1722002202169,"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_cnpm_publish_time":1722002202169,"dist-tags":{"latest":"5.1.0"}}