Toggle the CLI cursor
npm install cli-cursor> Toggle the CLI cursor
The cursor is gracefully restored if the process exits.
``sh`
npm install cli-cursor
`js
import cliCursor from 'cli-cursor';
cliCursor.hide();
const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);
`
#### force
Useful for showing or hiding the cursor based on a boolean.
#### stream
Type: stream.Writable\process.stderr`
Default: