tiny-cursor
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Tiny Cursor

A tiny library for hiding and showing the cursor in the terminal.

Install

npm install --save tiny-cursor

Usage

import Cursor from 'tiny-cursor';

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 © Fabio Spampinato

/tiny-cursor/

    Package Sidebar

    Install

    npm i tiny-cursor

    Weekly Downloads

    19,703

    Version

    2.0.0

    License

    none

    Unpacked Size

    5.61 kB

    Total Files

    12

    Last publish

    Collaborators

    • fabiospampinato