Socket
Socket
Sign inDemoInstall

restore-cursor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restore-cursor - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

license

5

index.js
'use strict';
var onetime = require('onetime');
var exitHook = require('exit-hook');
module.exports = function () {
module.exports = onetime(function () {
exitHook(function () {
process.stdout.write('\u001b[?25h');
});
};
});
{
"name": "restore-cursor",
"version": "1.0.0",
"version": "1.0.1",
"description": "Gracefully restore the CLI cursor on exit",

@@ -41,4 +41,5 @@ "license": "MIT",

"dependencies": {
"exit-hook": "^1.0.0"
"exit-hook": "^1.0.0",
"onetime": "^1.0.0"
}
}

2

readme.md

@@ -1,2 +0,2 @@

# restore-cursor [![Build Status](https://travis-ci.org/sindresorhus/restore-cursor.svg?branch=master)](https://travis-ci.org/sindresorhus/restore-cursor)
# restore-cursor

@@ -3,0 +3,0 @@ > Gracefully restore the CLI cursor on exit

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