cli-cursor

WebJar for cli-cursor

Лицензия

Лицензия

MIT
Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

cli-cursor
Последняя версия

Последняя версия

3.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

cli-cursor
WebJar for cli-cursor
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/sindresorhus/cli-cursor

Скачать cli-cursor

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/cli-cursor/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>cli-cursor</artifactId>
    <version>3.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/cli-cursor/
implementation 'org.webjars.npm:cli-cursor:3.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/cli-cursor/
implementation ("org.webjars.npm:cli-cursor:3.1.0")
'org.webjars.npm:cli-cursor:jar:3.1.0'
<dependency org="org.webjars.npm" name="cli-cursor" rev="3.1.0">
  <artifact name="cli-cursor" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='cli-cursor', version='3.1.0')
)
libraryDependencies += "org.webjars.npm" % "cli-cursor" % "3.1.0"
[org.webjars.npm/cli-cursor "3.1.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : restore-cursor jar [3.1.0,4)

Модули Проекта

Данный проект не имеет модулей.

cli-cursor Build Status

Toggle the CLI cursor

The cursor is gracefully restored if the process exits.

Install

$ npm install cli-cursor

Usage

const cliCursor = require('cli-cursor');

cliCursor.hide();

const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);

API

.show(stream?)

.hide(stream?)

.toggle(force?, stream?)

force

Useful for showing or hiding the cursor based on a boolean.

stream

Type: stream.Writable
Default: process.stderr


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Версии библиотеки

Версия
3.1.0
2.1.0
1.0.2