mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 10:18:46 -05:00
Update ESLint and configuration to version 4.0.0. PR-URL: https://github.com/nodejs/node/pull/13645 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
365 B
365 B
restore-cursor
Gracefully restore the CLI cursor on exit
Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
Install
$ npm install --save restore-cursor
Usage
const restoreCursor = require('restore-cursor');
restoreCursor();
License
MIT © Sindre Sorhus