{"library":"restore-cursor","type":"library","category":null,"description":"Gracefully restore the CLI cursor on exit. The package automatically restores the cursor when a process exits, preventing hidden cursors from remaining hidden after crashes or interruptions. Latest version 5.1.0, maintained by Sindre Sorhus. Releases are stable and infrequent. Key differentiators: zero dependencies (v5+), proper TTY detection (no-op in non-TTY contexts), and simple imperative API. Pure ESM from v4, requires Node.js >=18 (v5).","language":"javascript","status":"active","version":"5.1.0","tags":["javascript","exit","quit","process","graceful","shutdown","sigterm","sigint","terminate","typescript"],"install":[{"cmd":"npm install restore-cursor","imports":["import restoreCursor from 'restore-cursor'","import restoreCursor from 'restore-cursor'","import restoreCursor from 'restore-cursor'"]},{"cmd":"yarn add restore-cursor","imports":[]},{"cmd":"pnpm add restore-cursor","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/restore-cursor","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/restore-cursor","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/restore-cursor/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}