{"name":"restore-cursor","version":"5.0.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","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":"^6.0.0","signal-exit":"^4.1.0"},"devDependencies":{"tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"cd47a38cc6e0d1cf9f2045c67d01650662e98408","bugs":{"url":"https://github.com/sindresorhus/restore-cursor/issues"},"homepage":"https://github.com/sindresorhus/restore-cursor#readme","_id":"restore-cursor@5.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-Hp93f349DvdEqJFHiPyzNzVjT7lDDFtQJWRotQVQNl3CHr4j7oMHStQB9UH/CJSHTrevAZXFvomgzy8lXjrK0w==","shasum":"7fbb65122d6c25489ac2fda910f2a0f063279834","tarball":"http://registry-npm.ywwl.com/restore-cursor/download/restore-cursor-5.0.0.tgz","fileCount":5,"unpackedSize":3080,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQDkyq01m3VE68xY4spsToLXhtN6gDV1iWbLDtFiW9PAiEAx+dYrSAH/lCluzBlHEM687iGtGqLLVQxkYnFkowWaPo="}],"size":1642,"noattachment":false,"key":"/restore-cursor/-/restore-cursor-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/restore-cursor_5.0.0_1695886462962_0.3947316525542488"},"_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":1695886463222,"_cnpm_publish_time":1695886463222,"dist-tags":{"latest":"5.1.0"}}