npm.io
1.0.0 • Published 4 years ago

cursor-cli

Licence
MIT
Version
1.0.0
Deps
1
Size
7 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

Cursor-cli

A library for toggling the CLI cursor in the terminal.

Install

Get it on npm

npm install cursor-cli

Get it on yarn

yarn add  cursor-cli

Usage

import Cursor from "cursor-cli";

Cursor.has(); // => true, the cursor is visible

Cursor.hide();

Cursor.has(); // => false, the cursor is not visible

Cursor.show();

Cursor.has(); // => true, the cursor is visible

Cursor.toggle();

Cursor.has(); // => false, the cursor is not visible

License

MIT License

Keywords