{"_id":"@cjser/restore-cursor__v4_0_0","name":"@cjser/restore-cursor__v4_0_0","dist-tags":{"latest":"4.0.0-cjser.2"},"versions":{"4.0.0-cjser.2":{"name":"@cjser/restore-cursor__v4_0_0","version":"4.0.0-cjser.2","description":"Gracefully restore the CLI cursor on exit","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && tsd"},"keywords":["exit","quit","process","graceful","shutdown","sigterm","sigint","terminate","kill","stop","cli","cursor","ansi","show","term","terminal","console","tty","shell","command-line"],"dependencies":{"onetime":"^5.1.0","signal-exit":"^3.0.2"},"devDependencies":{"tsd":"^0.7.2","xo":"^0.24.0"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"4.0.0","cjserVersion":2,"original":{"name":"restore-cursor","version":"4.0.0","exports":"./index.js","repository":"sindresorhus/restore-cursor","dependencies":{"onetime":"^5.1.0","signal-exit":"^3.0.2"},"files":["index.js","index.d.ts"],"scripts":{"test":"xo && tsd"}}},"_id":"@cjser/restore-cursor__v4_0_0@4.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-F2docNcevvSMGC/om3AZMvcFGMbubXekA+y8ZmQGnF2BTJMDCp7weqYJE0lQKh/Xk9ATu08fsrqCHHbvkvAVhg==","shasum":"8b38237221d7794f4041b1c5b7ae230ab0d523bd","tarball":"https://registry.npmjs.org/@cjser/restore-cursor__v4_0_0/-/restore-cursor__v4_0_0-4.0.0-cjser.2.tgz","fileCount":6,"unpackedSize":6261,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA6ZNQLNZIwIJeBI3++BnmpIhucQKkY8UA+4DpPhEau1AiEA2/og8mWWMjZmTy8wxw1MaWRPUhImOZ+lgYR9mSILLNo="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/restore-cursor__v4_0_0_4.0.0-cjser.2_1778159856471_0.12225991314220286"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:17:36.412Z","4.0.0-cjser.2":"2026-05-07T13:17:36.630Z","modified":"2026-05-07T13:17:36.891Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Gracefully restore the CLI cursor on exit","keywords":["exit","quit","process","graceful","shutdown","sigterm","sigint","terminate","kill","stop","cli","cursor","ansi","show","term","terminal","console","tty","shell","command-line"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# restore-cursor\n\n> Gracefully restore the CLI cursor on exit\n\nPrevent the cursor you've hidden interactively from remaining hidden if the process crashes.\n\n## Install\n\n```\n$ npm install restore-cursor\n```\n\n## Usage\n\n```js\nimport restoreCursor from 'restore-cursor';\n\nrestoreCursor();\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-restore-cursor?utm_source=npm-restore-cursor&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/restore-cursor\n","readmeFilename":"readme.md","_rev":"1-6ed71a22065797f2a1a772c56b41bba2"}