Socket
Socket
Sign inDemoInstall

console-control-strings

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

README.md~

4

index.js

@@ -52,2 +52,6 @@ 'use strict'

exports.beep = function () {
return '\x07'
}
exports.hideCursor = function hideCursor () {

@@ -54,0 +58,0 @@ return prefix + '?25l'

2

package.json
{
"name": "console-control-strings",
"version": "1.0.0",
"version": "1.1.0",
"description": "A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -74,2 +74,7 @@ # Console Control Strings

### var code = consoleControl.beep()
Returns the escape sequence to cause the termianl to beep. (That is, it
returns unicode character `\x0007`, a Control-G.)
### var code = consoleControl.hideCursor()

@@ -76,0 +81,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc