Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-cursor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-cursor - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

license

3

index.js

@@ -5,4 +5,2 @@ 'use strict';

restoreCursor();
exports.show = function () {

@@ -14,2 +12,3 @@ hidden = false;

exports.hide = function () {
restoreCursor();
hidden = true;

@@ -16,0 +15,0 @@ process.stdout.write('\u001b[?25l');

{
"name": "cli-cursor",
"version": "1.0.1",
"version": "1.0.2",
"description": "Toggle the CLI cursor",

@@ -10,3 +10,3 @@ "license": "MIT",

"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},

@@ -17,3 +17,3 @@ "engines": {

"scripts": {
"test": "node test.js"
"test": "xo && ava"
},

@@ -39,7 +39,8 @@ "files": [

"dependencies": {
"restore-cursor": "^1.0.0"
"restore-cursor": "^1.0.1"
},
"devDependencies": {
"ava": "0.0.4"
"ava": "*",
"xo": "*"
}
}

@@ -10,3 +10,3 @@ # cli-cursor [![Build Status](https://travis-ci.org/sindresorhus/cli-cursor.svg?branch=master)](https://travis-ci.org/sindresorhus/cli-cursor)

```sh
```
$ npm install --save cli-cursor

@@ -19,7 +19,7 @@ ```

```js
var cliCursor = require('cli-cursor');
const cliCursor = require('cli-cursor');
cliCursor.hide();
var unicornsAreAwesome = true;
const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);

@@ -26,0 +26,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc